linux 终端输入命令: vim ~/.vimrc
再打开的界面输入以下命令:
1 set nu //每行前显示行号
2 set tabstop=4 //修改 tab 字符的显示宽度
3 set shiftwidth=4 //缩进空格数
4 set autoindent //自动缩进
5 set mouse=a //光标跟着鼠标移动
linux vim 行号显示,缩进,光标移动设置
最新推荐文章于 2024-01-25 10:44:58 发布