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 Answers
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– Daniel Wu2016-10-14 01:00:28 +00:00Commented Oct 14, 2016 at 1:00
- Try
C-z. It ishelm-execute-presistent-action. I have updated my answer.caisah– caisah2016-10-14 05:27:16 +00:00Commented Oct 14, 2016 at 5:27 - C-z pop up a HELM Action: It has a menu list, like [f1] Find file etc.Daniel Wu– Daniel Wu2016-10-14 05:50:12 +00:00Commented Oct 14, 2016 at 5:50
- Add
C-zor whatever key you want forhelm-execute-persistent-actiontohelm-mapfirst(define-key helm-map (kbd "C-z") 'helm-execute-persistent-action).caisah– caisah2016-10-14 07:34:58 +00:00Commented Oct 14, 2016 at 7:34