开发者

How to add/change ex-mode mapping in viper/vimpulse?

really not a fan of :e and :b opening in anothe开发者_如何学编程r window, and would like to remap the functions they are calling.


Viper ex commands are defined in ex-token-alist.

To add new commands (of course other approaches like consing and add-to-list are possible):

(push '("name" (do-this)) ex-token-alist)

Prior entries have higher priority than later, so if you want to override, just add them.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜