Ctrl-o in vimpulse?

2019-08-12 06:33发布

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条回答
老娘就宠你
2楼-- · 2019-08-12 07:15

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)

查看更多
登录 后发表回答