git for windows装完,bash里面开vim提示错误信息
$ vim
--- Autocommands ---
Error detected while processing /etc/vimrc:
line 43:
E10: \ should be followed by /, ? or &
line 44:
E10: \ should be followed by /, ? or &
line 45:
E10: \ should be followed by /, ? or &
line 46:
E10: \ should be followed by /, ? or &
line 47:
E10: \ should be followed by /, ? or &
line 48:
E10: \ should be followed by /, ? or &
line 53:
E10: \ should be followed by /, ? or &
line 54:
E10: \ should be followed by /, ? or &
E1187: Failed to source defaults.vim
Press ENTER or type command to continue
是因为没有~/.vimrc就去默认目录找配置文件就出错了,解决方法是建个~/.vimrc
标签:git,followed,windows,E10,should,line,vim
From: https://www.cnblogs.com/hfww/p/17642349.html