I use helm-projectile-find-file and helm-projectile-ag on a regular basis. My issue is I want to remove the following lines C-j: Preview file (keeping session) and Projectile files from the result frame in order to fill the screen space only with worthwhile information. Googling doesn't help so much, thank you in advance.


You can advice helm-projectile-find-file to disable the header-line (do the same for helm-projectile-ag):

(advice-add 'helm-projectile-find-file :around
            (lambda (oldfun &rest args)
              (let ((helm-display-header-line nil))
                (apply oldfun args))))

Or set helm-display-header-line to nil to disable it everywhere. I don't think you can remove the title line.

  • works for me, thanks – Illia Danko Apr 10 '19 at 7:35

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.