diff options
author | Kyle Meyer <meyerkya@gmail.com> | 2013-01-20 15:08:23 -0500 |
---|---|---|
committer | Kyle Meyer <meyerkya@gmail.com> | 2013-01-20 15:11:11 -0500 |
commit | 5853b7d59fe4e3281e5c2122347abe2f39a24966 (patch) | |
tree | 8b22c98834c343a3cc918d45c8b7133531dcbc2f | |
parent | 5c6de414fa76dbc047b5957ea43672b703251f50 (diff) | |
download | emacs.d-5853b7d59fe4e3281e5c2122347abe2f39a24966.tar.gz |
set emacs as initial emacs state for several modes
-rw-r--r-- | init/km-evil.el | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/init/km-evil.el b/init/km-evil.el index b5d115f..8db295a 100644 --- a/init/km-evil.el +++ b/init/km-evil.el @@ -8,6 +8,12 @@ ;; red box in emacs mode (setq evil-emacs-state-cursor '("red" box)) + +(loop for (mode . state) in '((dired-mode . emacs) + (org-agenda-mode . emacs) + (ibuffer-mode . emacs)) + do (evil-set-initial-state mode state)) + (define-key evil-motion-state-map "H" 'evil-scroll-up) (define-key evil-motion-state-map "L" 'evil-scroll-down) |