Error "E138: Can't write viminfo file" check that no old temp files

Question : Can't write viminfo file /root/.viminfo!

Subitted by : Shilpa

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}

So we need to remove the .viminf*.tmp files from /root directory. There was no error or annoying message while editing in VI Editor.

SHARE

    Blogger Comment
    Facebook Comment

0 comments :

Post a Comment