summaryrefslogtreecommitdiff
path: root/emacs.el
diff options
context:
space:
mode:
Diffstat (limited to 'emacs.el')
-rw-r--r--emacs.el6
1 files changed, 6 insertions, 0 deletions
diff --git a/emacs.el b/emacs.el
index 73e7a4b..41689ef 100644
--- a/emacs.el
+++ b/emacs.el
@@ -13,6 +13,9 @@
'(backup-directory-alist `(("." . "~/.emacs.saves")))
)
+;; global kbd maps
+(define-key isearch-mode-map (kbd "M-o") 'isearch-occur)
+
;; only y/n prompt (no RET needed)
(defalias 'yes-or-no-p 'y-or-n-p)
@@ -50,6 +53,9 @@
(defvar leader-map (make-sparse-keymap)
"Keymap for <leader> key.")
(define-key evil-normal-state-map (kbd "SPC") leader-map)
+ ;; scrolling
+ (define-key evil-normal-state-map (kbd "C-k") 'evil-scroll-up)
+ (define-key evil-normal-state-map (kbd "C-j") 'evil-scroll-down)
)
;; org