26

I was wondering what's the purpose of .viminfo and .netrwhist files?

Luis Veliz
  • 443
  • 1
  • 5
  • 7

1 Answers1

19

You can see that here:

:h viminfo

If you exit Vim and later start it again, you would normally lose a lot of information. The viminfo file can be used to remember that information, which enables you to continue where you left off.

:h .netrwhist

The file ".netrwhist" holds history when netrw (and vim) is not active.

statox
  • 49,782
  • 19
  • 148
  • 225
nobe4
  • 16,033
  • 4
  • 48
  • 81