檢視行號

要從預設檢視中檢視行號,請輸入

:set number

隱藏行號

:set nonumber

上面還有一個快捷方式。nu 與 number 相同。

:set nonu

要隱藏行號,我們也可以使用

:set nu!