Commit 84e81b1c58e5

Vincent Demeester <vincent@sbr.pm>
2015-07-31 11:05:50
Use helm-grep-mode-jump… to have grep-mode binding for helm-ag-mode
1 parent fd17111
Changed files (1)
.emacs.d
.emacs.d/emacs.org
@@ -1318,7 +1318,9 @@
         (setq helm-ag-base-command "pt -e --nocolor --nogroup"
               helm-ag-command-option "--all-text"
               helm-ag-insert-at-point 'symbol)
-        (define-key helm-ag-mode-map (kbd "<return>")  'helm-ag-mode-jump-other-window))
+        (define-key helm-ag-mode-map (kbd "<return>")  'helm-ag-mode-jump-other-window)
+        (define-key helm-ag-mode-map (kbd "n")  'helm-grep-mode-jump-other-window-forward)
+        (define-key helm-ag-mode-map (kbd "p")  'helm-grep-mode-jump-other-window-backward))
     #+END_SRC