Contents
Why do I get error E576 viminfo missing?
I was getting the error E576: viminfo: Missing ‘>’ in line: [file names] about ten times with various file names whenever I opened or saved a buffer in Vim. This happened both in normal vim and with MacVim. This was followed by the line E136: viminfo: Too many errors, skipping rest of file.
How to fix the wrong line in viminfo?
I opened ~/.viminfo using vim and there was one line in red that showed up to me, so I just fixed that line through adding a >. You should add or delete something in your ~/.viminfo by comparing the wrong line in ~/.viminfo and other right lines.
Why does Vim skip the rest of the file?
This happened both in normal vim and with MacVim. This was followed by the line E136: viminfo: Too many errors, skipping rest of file. Other than these obnoxious messages, Vim itself worked fine. To fix it, I opened ~/.viminfo and deleted everything in the section labeled # History of marks within files (newest to oldest):.
Why does viminfo say illegal starting char in line?
Noticed this error when I had forgot to start the line with : in .viminfo file for example set tabstop=4. To get rid of this error had to add : at the beginning of the line as below. vim ~/.viminfo # new file, leave it blank, then just wq. I had the same issue. I think it occurred after I deleted a repo from my computer.
Why is Neovim unable to read and write viminfo files?
TL;DR: skip to the Resolution section. The issue is that neovim can’t read/write vim ‘s viminfo file format. Instead of using vim ‘s viminfo format for storing editing session information, neovim uses a shada-file for “SHAred DAta”.
Is the viminfo file the same in Debian?
As far as I’m aware vi / vim are the same in Debian. Any suggestions greatly appreciated. The problematic file is .viminfo in the user’s home directory. Reinstalling vim wouldn’t help since the problematic file is a per-account file, not a system file.
What are the.viminfo and.netrwhist files?
The viminfo file can be used to remember that information, which enables you to continue where you left off. The file “.netrwhist” holds history when netrw (and vim) is not active. Thanks for contributing an answer to Vi and Vim Stack Exchange!
What happens if I delete a.viminfo file?
No deleting .viminfo file is not going to affect any of your existing work, It is the same way you erase your cache history but it does not affects any of your work done. Do I need to recreate a new .viminfo file?
What to do if your Vim history is missing?
Reinstalling vim wouldn’t help since the problematic file is a per-account file, not a system file. This file contains history information: things like the last files you opened, the last search queries, etc. If you remove it, you’ll just start with a fresh history.
Where is the problematic file in Vim home?
Any suggestions greatly appreciated. The problematic file is .viminfo in the user’s home directory. Reinstalling vim wouldn’t help since the problematic file is a per-account file, not a system file. This file contains history information: things like the last files you opened, the last search queries, etc.