is it possible to replace Insert state with Emacs state?

Eric Luo eric.wenbl at gmail.com
Fri Feb 10 12:52:55 CET 2012


,----
| 
| ;; remove all keybindings from insert-state keymap
| (setcdr evil-insert-state-map nil) 
| ;; but [escape] should switch back to normal state
| (define-key evil-insert-state-map [escape] 'evil-normal-state) 
`----

Thanks, it works like a charm




More information about the implementations-list mailing list