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
6.8.07
Solution : E138 in VI Editor
Subscribe to:
Post Comments (Atom)

2 Reply:
Yes it fixed my problem thank you
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.
Post a Comment