Vim显示行号

在~/.vimrc最后面加一行

set number

保存再打开文件即可体现。

原文地址:https://www.cnblogs.com/EasonJim/p/8320905.html