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.
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 ishelm-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 forhelm-execute-persistent-action
tohelm-map
first(define-key helm-map (kbd "C-z") 'helm-execute-persistent-action)
. – caisah Oct 14 '16 at 7:34