reproduce:
cd
mv .viminfo /tmp/
ln -s /tmp/.viminfo .viminfo
file .viminfo (.viminfo: symbolic link to `/tmp/.viminfo')
vi (then close it)
file .viminfo (.viminfo: UTF-8 Unicode text)
Maybe it is intended.
See ":help viminfo-write":
(snip)
Notes for Unix:
(snip)
- The viminfo file cannot be a symbolic link. This is to avoid security
issues.
Regards,
Ken Takata