diff options
author | Amin Bandali <bandali@gnu.org> | 2018-11-24 18:11:05 -0500 |
---|---|---|
committer | Amin Bandali <bandali@gnu.org> | 2018-11-24 18:11:05 -0500 |
commit | f333db13e8ab042060abdf5b5c1433fb0ad198a0 (patch) | |
tree | bab678ae44e7ff7e6c85ef51613fd2a2e7016889 | |
parent | ebb9670f4730f5a252c0cad0220c17587cc4b2eb (diff) | |
download | configs-f333db13e8ab042060abdf5b5c1433fb0ad198a0.tar.gz configs-f333db13e8ab042060abdf5b5c1433fb0ad198a0.tar.xz configs-f333db13e8ab042060abdf5b5c1433fb0ad198a0.zip |
[emacs/evil] touch up my mode state mappings
also, use emacs state for ebdb-mode
Diffstat (limited to '')
-rw-r--r-- | init.org | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -722,11 +722,11 @@ customizing it. (setq evil-want-visual-char-semi-exclusive t) - ;; motion state modes - (dolist (mode '(ebdb-mode - helpful-mode - view-mode)) - (evil-set-initial-state mode 'motion)) + ;; custom mode state mappings + (dolist (mspair '((ebdb-mode . emacs) + (helpful-mode . motion) + (view-mode . motion))) + (evil-set-initial-state (car mspair) (cdr mspair))) ;; fix tab and indentation in src blocks inside org-mode buffer ;; also see https://git.sr.ht/~bandali/dotfiles/commit/0e2ffd584aafdd4cf256bcdf2473f01c3aaaed55 |