Message "E138: Can't write viminfo file /home/<user>/.viminfo!" seen exiting vim
Issue
-
When exiting
vim
, the following message is displayedE138: Can't write viminfo file /home/<user>/.viminfo!
Environment
- Red Hat Enterprise Linux
- vim
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.