.viminfo permissions


I wondered why my Vim command history wasn’t being preserved between sessions.

Root cause: ~/.viminfo, for whatever reason, was owned by root. I deleted it, restarted Vim, and all is now good.