3

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

  • 3
    Do you know there is a doc in Vim? We even have a really good question to help you using it... – statox Dec 20 '16 at 16:46
  • 3
    When in doubt: just try :h <any-word>. At least half the time you'll find what you're looking for. :-) – Martin Tournoij Dec 20 '16 at 17:19
5

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.