Linux篇001——打开vi默认显示行号

$ vi ~/.vimrc 

新增一行命令

:set number

保存退出,source ~/.vimrc

猜你喜欢

转载自blog.csdn.net/qq_36625806/article/details/79184814