Database Error detected while processing /root/.vimrc:

Problem description:
Use database \ecommands to report errors. The
Insert picture description here
problem is: The
vim editor has been replaced, and the default configuration is required

Solution

1. #vim ~/.bashrc   #编辑配置文件
2. export EDITOR=/usr/bin/vim   #在最后一行插入
3. #source ~/.bashrc         #刷新或者重启

Guess you like

Origin blog.csdn.net/qq_26129413/article/details/111853985