On Wed, Oct 05, 2011 at 12:16:11PM +0200, Alan Schmitt wrote:
> On 5 oct. 2011, at 11:57, Alan Schmitt wrote:
> 
> > I'm going to try to unbind it
> 
> I thought this would be easy, but for some reason it does not work.
> 
> I put this in my .emacs file:
> (global-unset-key "\C-w")
> 
> and it did not work. I even tried to evaluate it (C-x C-e), and it still does 
> not remove the binding.
> 
> Am I doing something wrong?

The problem is that the whole change you make during insert-state is
recorded as a single undo. In order to inhibit C-w you could use something like

(define-key evil-insert-state-map (kbd "C-w") 'undefined)

Frank

_______________________________________________
implementations-list mailing list
[email protected]
https://lists.ourproject.org/cgi-bin/mailman/listinfo/implementations-list

Reply via email to