1

when run the command of helm-find-projectile-file, it will show a file lists in the mini buffer, and then I can use up and down key to select the file I want to view. But is it possible to view the file content when I select a file without press the "Enter" key? if press the Enter key, then I have to get back the helm session. I just want to use up and down key to go through each file, and then let emacs show the file content immediately.

2

You have to press C-j or C-zto see the content of the thing under the selection.

  • I am using spacemacs, ctrl+j just move the item down, just like key of down array. – Daniel Wu Oct 14 '16 at 1:00
  • Try C-z. It is helm-execute-presistent-action. I have updated my answer. – caisah Oct 14 '16 at 5:27
  • C-z pop up a HELM Action: It has a menu list, like [f1] Find file etc. – Daniel Wu Oct 14 '16 at 5:50
  • Add C-z or whatever key you want for helm-execute-persistent-action to helm-map first (define-key helm-map (kbd "C-z") 'helm-execute-persistent-action). – caisah Oct 14 '16 at 7:34
1

Try helm-follow-mode, it should do the trick.

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.