How to create an alias for a command in Vim?

后端 未结 7 2163
梦毁少年i
梦毁少年i 2020-11-28 02:32

Vim is my preferred text editor when I program, and thus I always run into a particularly annoying issue.

Frequently, when I quickly need to save the buffer and conti

7条回答
  •  误落风尘
    2020-11-28 02:59

    I find that mapping the ; key to : would be a better solution, and would make you more productive for typing other commands.

    nnoremap ; :
    vnoremap ; :
    

提交回复
热议问题