centos6 vim添加行号

1.临时显示/取消行号

:set no
:set nonu

2.永久显示行号

 #vim ~/.vimrc

添加 set no 保存退出

posted @ 2019-06-29 16:21  溜肉段小能手  阅读(332)  评论(0编辑  收藏  举报