Chinaunix首页 | 论坛 | 博客
  • 博客访问: 193621
  • 博文数量: 44
  • 博客积分: 2021
  • 博客等级: 大尉
  • 技术积分: 937
  • 用 户 组: 普通用户
  • 注册时间: 2007-06-03 22:55
文章分类

全部博文(44)

文章存档

2009年(2)

2008年(42)

我的朋友

分类: LINUX

2008-07-31 19:18:58

: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) |
给主人留下些什么吧!~~