首先卸载旧版本的vi编辑器:

  $sudo apt-get remove vim-common

 

然后安装新版vi即可:

  $sudo apt-get install vim

 

Ubuntu自带有几种版本的vi,各位可以根据需要选择自己喜欢的版本

相关文章: