summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2014-11-06 22:41:53 -0500
committerKyle Meyer <kyle@kyleam.com>2014-11-06 22:41:53 -0500
commit58956d30255db19b5a032c778093931f1d8c4cae (patch)
treebcce3ef352e42ce9bd76a8ae57dd364b88e7ef97 /lisp
parent81ac1a881a793695b855f915cd0217e75f980e1f (diff)
downloademacs.d-58956d30255db19b5a032c778093931f1d8c4cae.tar.gz
Bind n/p to {next,previous}-line in occur-mode-map
Diffstat (limited to 'lisp')
-rw-r--r--lisp/init-general.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/lisp/init-general.el b/lisp/init-general.el
index a6b8a02..5f3876c 100644
--- a/lisp/init-general.el
+++ b/lisp/init-general.el
@@ -64,4 +64,7 @@
`(eval-after-load ,mode
'(progn ,@body)))
+(define-key occur-mode-map "n" 'next-line)
+(define-key occur-mode-map "p" 'previous-line)
+
(provide 'init-general)