summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2015-12-19 19:05:34 -0500
committerKyle Meyer <kyle@kyleam.com>2015-12-19 19:05:34 -0500
commit9333839856b9ed0db700c12bbe09eff816630db9 (patch)
treeb6519475894bcba9fc7c4649e9a5705591b67fc4 /lisp
parent58c15679e335dc3d2b23f3a11f6387c34a237073 (diff)
downloademacs.d-9333839856b9ed0db700c12bbe09eff816630db9.tar.gz
Move occur bindings
Diffstat (limited to 'lisp')
-rw-r--r--lisp/init-editing.el3
-rw-r--r--lisp/init-general.el3
2 files changed, 3 insertions, 3 deletions
diff --git a/lisp/init-editing.el b/lisp/init-editing.el
index 2dac01d..ce07354 100644
--- a/lisp/init-editing.el
+++ b/lisp/init-editing.el
@@ -173,6 +173,9 @@ touches."
(define-key narrow-map "c" 'km/narrow-to-comment-heading)
+(define-key occur-mode-map "n" 'next-line)
+(define-key occur-mode-map "p" 'previous-line)
+
;; Override default `occur'.
(define-key search-map "o" 'km/occur)
(define-key search-map "s" 'query-replace)
diff --git a/lisp/init-general.el b/lisp/init-general.el
index 9633859..926e787 100644
--- a/lisp/init-general.el
+++ b/lisp/init-general.el
@@ -56,9 +56,6 @@
(global-set-key (kbd "C-c x") 'eval-expression)
-(define-key occur-mode-map "n" 'next-line)
-(define-key occur-mode-map "p" 'previous-line)
-
(show-paren-mode)
(global-auto-revert-mode)
(key-chord-mode 1)