1.安装vim,自己安装的centos7只有vi,没有vim,vim是vi的升级版,还支持高亮显示 1 yum install -y vim 转载于:https://www.cnblogs.com/liizzz/p/11542231.html