Vim 常用设置

2016年12月27日

在使用 Vim 过程中有很多时候需要显示行号,在这里记录一下,打开及关闭行号的方法;

Vim 打开和关闭行号

打开

:set nu 
或
:set number

关闭

:set nonu
或
:set nonumer