centos7vim配置权限
时间: 2023-08-09 21:09:48 浏览: 105
CentOS 7安装完成后初始化的方法
根据引用\[2\]中的内容,如果在配置vim时遇到权限问题,可以切换到root用户执行以下指令来解决权限问题:
```
rpm -Uvh http://mirror.ghettoforge.org/distributions/gf/gf-release-latest.gf.el7.noarch.rpm
rpm --import http://mirror.ghettoforge.org/distributions/gf/RPM-GPG-KEY-gf.el7
yum -y remove vim-minimal vim-common vim-enhanced sudo
yum -y --enablerepo=gf-plus install vim-enhanced sudo
```
这样就可以解决centos7中vim配置的权限问题。
#### 引用[.reference_title]
- *1* *3* [centos配置vim c++开发环境](https://blog.csdn.net/jxhaha/article/details/108855386)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^control,239^v3^insert_chatgpt"}} ] [.reference_item]
- *2* [centos7下载安装以及一键式配置VIM](https://blog.csdn.net/kuisi95/article/details/93871721)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^control,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
阅读全文