How to create an alias for a command in Vim?

后端 未结 7 2118
梦毁少年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:09

    With supplementary searching, I've found that someone asked nearly the same question as I.

    :command  
    

    will do the trick.

    Please be aware that, as Richo points out, the user command must begin with a capital letter.

提交回复
热议问题