1、安装 vim : yum install vim -y
2、在/etc/profile文件中将vim设置别名
3、确认/etc/profile添加了别名
4、重新加载profile,使得设置立即生效