Linux设置Vim显示行号
Vim是Linux下十分好用的一个工具,有时候我们想让显示行号方便我们操作。
vim /etc/vim/vimrc --在set ruler下添加 set nu 保存 :wq 刷新配置 source /etc/bashrc