Ctrl-o in vimpulse?

2019-08-12 07:05发布

问题:

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.

回答1:

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)