6.8.07

Solution : E138 in VI Editor

Error E138 while editing some file with VI Editor.

The error description :
E138: Can't write viminfo file /root/.viminfo!Hit ENTER or type command to continue

Solution :
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} Remove the .viminf*.tmp files from /root directory.

There was no error or annoying message while editing in VI Editor.

Other Solutions :
Registry Editing has been disabled

2 Reply:

Hassan said...

Yes it fixed my problem thank you

Anonymous said...

I had this problem when I had both the Windows version of gvim, and the cygwin version of gvim, installed. I got rid of the cygwin version, and added the path to the windows version in my PATH variable. That fixed it.

About Me

Abhishek Deshpande, I'm pursuing my BS Degree From Nagpur UniV. Wish me it will Complete this year.

Tekabhi :
This blog is Collection of tips and tricks that i found in my Surfing life. All tricks are tested by me at the time of Posting.Hope you found them useful.

You can Contact me via Comments.
or mail me

Blog Archive