[implementations-list] issue with viper-escape-to-emacs
Fabian Braennstroem
f.braennstroem at gmx.de
Thu Apr 1 15:04:07 CEST 2010
Thanks for the quick reply!
On 04/01/2010 02:55 PM, Vegard Øye wrote:
>> 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. :)
I need it for functions like to include entries in the bibtex-file and
e.g. replacing strings in a file.
I rebind it, as I have some other keybindings to \t, \e , \] and \,
>
> 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.
Yes, I know this, but that's not really comfortable.
Regards!
Fabian
More information about the implementations-list
mailing list