当前位置:网站首页>vi display line number in buildroot embedded file system

vi display line number in buildroot embedded file system

2022-08-11 07:00:00 Thousand volumes

cd ~, cd tilde or space, enter the home directory

1.touch.vimrc

If it is a new .vimrc, just enter set nu directly, then: wq save and exit

Just open a file and try it

vi hehe

Enter the content, see the line number, I have a horizontal line here, I don't know why

If it is to temporarily display the line number, enter:set nu

Cancel line number display :set nonu

原网站

版权声明
本文为[Thousand volumes]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/223/202208110516571464.html