30 May 2012 16:04
rebinding C-w
Bob Nnamtrop <bobnnamtrop <at> gmail.com>
2012-05-30 14:04:55 GMT
2012-05-30 14:04:55 GMT
I am used to the emacs windowing commands so I'd like to rebind C-w in normal state to the usual emacs binding (kill-region) or the evil "equivalent" (evil-delete). Is there a better choice here? However, the usual way does not work: (define-key evil-normal-state-map "\C-w" 'kill-region) It doesn't matter if it is before or after (require 'evil). What am I doing wrong? Thanks, Bob
RSS Feed