用普通用户登录,授权命令:
sudo chmod -R 777 /opt/module
一、临时设置行号
输入:set nu
取消行号:set nonu
上面的冒号也是要输入的内容
二、永久设置行号
vim ~/.vimrc //添加 set nu,保存退出
二、跳转行数
:n
用普通用户登录,授权命令:
sudo chmod -R 777 /opt/module
一、临时设置行号
输入:set nu
取消行号:set nonu
上面的冒号也是要输入的内容
二、永久设置行号
vim ~/.vimrc //添加 set nu,保存退出
二、跳转行数
:n