在CentOS中默认安装的是vi,若是喜欢用vim,可输入如下命令 sudo yum install vim-enhanced 即可安装vim 转载于:https://www.cnblogs.com/manqwerty/p/3612775.html