最近在使用Vim编辑器使用的时候遇到一个问题,由于公司业务的需要,修改配置电脑端口,就进行常规的终端命令行操作,结果就遇到了一个E325:ATTENTION错误的提示信息,具体提示如下所示:
E325: ATTENTION
Found a swap file by the name "/etc/.hosts.swp"
owned by: root dated: Thu Mon Mar 16 15:47:09 2020
file name: /private/etc/hosts
modified: YES
user name: root host name: chenMac.local
process ID: 3200X
While opening file "/etc/hosts"
dat