[implementations-list] issue with viper-escape-to-emacs

Vegard Øye vegard_oye at hotmail.com
Thu Apr 1 14:55:34 CEST 2010


> Date: Thu, 1 Apr 2010 14:06:14 +0200
> From: f.braennstroem at gmx.de
>
> Hello,
>
> with the new vimpulse, I have a problem escaping back to emacs mode. I
> need this option to run some traditional 'M-x' functions. Up to now I used:
>
> (define-key viper-vi-global-user-map (kbd "\\\\") 'viper-escape-to-emacs)
>
> Unfortunately, this does not work anymore, as using M(Esc) for the next
> command cancels this escape and inserts the second of the backslash into
> the buffer...

I'm sorry, but I can't reproduce this. What M-x functions do you need
Emacs state for? And why do you rebind `viper-escape-to-emacs' from \
to \\? Please provide more details. :)

Anyway, a quick workaround: C-z toggles Emacs state indefinitely. When
you are done running the necessary commands, press C-z to go back to
vi state again.

Vegard 		 	   		  
_________________________________________________________________
Windows Live™ Mail. Flere kontoer på ett sted.
http://download.live.com/wlmail


More information about the implementations-list mailing list