vim永久添加行号

1、编辑 vimrc 文件:

vim /etc/vimrc

2、在文件末尾添加 set nu 或 set number

set nu
posted @ 2023-11-16 14:51  peanut。  阅读(47)  评论(0)    收藏  举报