rebinding C-w

Bob Nnamtrop bobnnamtrop at gmail.com
Wed May 30 16:04:55 CEST 2012


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



More information about the implementations-list mailing list