首先root下安装vim
yum install vim-enhanced
设置为默认:
echo “alias vi=vim”>>/etc/profile 设置别名
source /etc/profile 重新加载profile生效
centos7下 安装vim并且设置为默认vi编辑器
猜你喜欢
转载自blog.csdn.net/weixin_38958597/article/details/83515916
今日推荐
周排行