Ctrl-o in vimpulse?

試著忘記壹切 提交于 2019-12-11 05:37:59

问题


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)



来源:https://stackoverflow.com/questions/3708533/ctrl-o-in-vimpulse

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!