Evil, Aquamacs, ctrl-w, and undo
Alan Schmitt
alan.schmitt at polytechnique.org
Wed Oct 5 13:45:22 CEST 2011
On 5 oct. 2011, at 13:19, Frank Fischer wrote:
> The problem is that the whole change you make during insert-state is
> recorded as a single undo.
Is this usual vim behavior?
> In order to inhibit C-w you could use something like
>
> (define-key evil-insert-state-map (kbd "C-w") 'undefined)
Thanks, it put me on the right direction. I have added
(define-key evil-insert-state-map (kbd "C-w") 'evil-window-map)
to my .emacs and it does what I want.
I just tested with vim and there as well C-w is backward delete word. I had never noticed.
Alan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ourproject.org/pipermail/implementations-list/attachments/20111005/8aa39fdf/attachment.htm
More information about the implementations-list
mailing list