How to create an alias for a command in Vim?

后端 未结 7 2123
梦毁少年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 03:05

    Suppose you want to add alias for tabnew command in gvim. you can simply type the following command in your .vimrc file (if not in home folder than create one)

    cabbrev t tabnew
    

提交回复
热议问题