默认显示行号:
echo set nu >> /etc/vim/vimrc
允许鼠标功能(复制粘贴等):
echo "if has('mouse')" >> ~/.vimrc echo " set mouse-=a" >> ~/.vimrc echo "endif" >> ~/.vimrc
默认显示行号:
echo set nu >> /etc/vim/vimrc
允许鼠标功能(复制粘贴等):
echo "if has('mouse')" >> ~/.vimrc echo " set mouse-=a" >> ~/.vimrc echo "endif" >> ~/.vimrc