:q!
E138: Can't write viminfo file /root/.viminfo!
Hit ENTER or type command to continue [ENTER]
:help E138
*:wv* *:wviminfo* *E137* *E138* *E574*
:wv[iminfo][!] [file] Write to viminfo file [file] (default: see above).
The information in the file is first read in to make
a merge between old and new info. When [!] is used,
the old information is not read first, only the
internal info is written. If 'viminfo' is empty, marks
for up to 100 files will be written.
When you get error "E138: Can't write viminfo file"
check that no old temp files were left behind (e.g.
~/.viminf*) and that you can write in the directory of
the .viminfo file.
{not in Vi}
vim:tw=78:ts=8:ft=help:norl:
把/root/.viminf[a-z].tmp 删除,问题解决
阅读(1144) | 评论(0) | 转发(0) |