diff options
author | johannst <johannes.stoelp@gmail.com> | 2019-09-04 19:29:59 +0200 |
---|---|---|
committer | johannst <johannes.stoelp@gmail.com> | 2019-09-04 19:29:59 +0200 |
commit | f5d2040987742006aec3684d0c2cc175c2b9c72f (patch) | |
tree | dac41a4c3e95ea5c6f91fade16428b9295144760 | |
parent | bb81a7e225af120ff391916b0e9dde8156ee1afd (diff) | |
download | dotfiles-f5d2040987742006aec3684d0c2cc175c2b9c72f.tar.gz dotfiles-f5d2040987742006aec3684d0c2cc175c2b9c72f.zip |
add evil scroll + occur key mapping
-rw-r--r-- | emacs.el | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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 |