Skip to main content
2 of 2
added 215 characters in body
D. Ben Knoble
  • 27.7k
  • 3
  • 31
  • 68

Launch vim and run

set viminfofile?

That should tell you the location. (The default is listed at :help viminfo-file-name.)


Based on some comments, it looks like the issue was trying to find $HOME\_viminfo, since the OP is on Windows, but they are in the linux subsystem and thus should actually look for $HOME/.viminfo.

D. Ben Knoble
  • 27.7k
  • 3
  • 31
  • 68