summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
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)