diff options
author | Kyle Meyer <meyerkya@gmail.com> | 2013-01-09 23:25:39 -0500 |
---|---|---|
committer | Kyle Meyer <meyerkya@gmail.com> | 2013-01-09 23:29:44 -0500 |
commit | 975d165747f1d7971467bc09e412585bd062b929 (patch) | |
tree | 497506e70ad4c67131e3dfbb68b282332cc2d387 | |
parent | f5238f044d2f142f1940b93e3761e1f5bfd7ef7c (diff) | |
download | emacs.d-975d165747f1d7971467bc09e412585bd062b929.tar.gz |
use key-chord and ;a for insert mode escape
-rw-r--r-- | conf/km-evil.el | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/conf/km-evil.el b/conf/km-evil.el index 94def61..d6e0ab8 100644 --- a/conf/km-evil.el +++ b/conf/km-evil.el @@ -18,7 +18,6 @@ (kill-this-buffer) ) -(define-key evil-insert-state-map "jf" 'evil-normal-state) (define-key evil-normal-state-map ",w" 'save-buffer) (define-key evil-normal-state-map ",q" 'kill-buffer) @@ -45,6 +44,10 @@ (key-chord-define-global ",f" 'find-file) (key-chord-define-global ",g" 'indent-relative) (key-chord-define-global ",b" 'ido-switch-buffer) +;; cannot map this to insert mode because it jams up the first letter +;; switch from jf because often pressing j to go up/down, so probably +;; best not to have it have to consider whether it is a chord each time +(key-chord-define-global ";a" 'evil-normal-state) ;; org bindings (defun km/always-insert-item () |