emacsviperviper-modevimpulse

Ctrl-o in vimpulse?


does anyone know how to enable Ctrl-o to switch to normal-mode for one command in viper-mode or vimpulse? In viper-mode it's bound to open-line (which is what it does for vanilla Emacs and in vimpulse it is bound to (vimpulse-jump-backward ARG). I'm using Viper-mode + vimpulse at level 2.


Solution

  • If you're in insert-mode and want to execute one Vimpulse command :

    (vimpulse-imap "\C-o" 'viper-escape-to-vi)
    

    (it is bound by default to C-z in insert-mode)