4

Recently on starting vim I've been getting an error message like this:

E575: viminfo: Illegal starting char in line: wait_until(lambda
_:<80><fc>^B ^[ldWA)^[:w^Mkkkdd^[:w^M<80><fd>c<80><fd>b248Gwwi_zzz^[:w^M<80><fd>c<80><fd>bkkkkj/refresh^M^c^[ma/browser.rfer<80>kb<80>kb<80>kbresh^[/refresh^MnN^ceb<80>kbdrie<80>kbver^[:w^M<80><fd>c<80><fd>b<80><fd>c<80><fd>b<80><fd>c<80><fd>b<80><fd>c<80><fd>b<80><fd>,<80><fd>-<80><fd>.^[^[^[^[<80><fd>W<80><fd>,<80><fd>.<80><fd>c<80><fd>b<80><fd>c<80><fd>b<80><fd>c<80><fd>bjodisplay_remaining_hours=<80>kb = trello9"<80>kb<80>kb("^V^V")^[^wwwwdt/..:w^M/zzz^Mkkjo@display_remaining_staff_hours^[ma/ldispla<80>kb<80>kb^[<80>kb^[ggjjjjjjjjjjjjjjjjjjjjjjjjjjjlkkkllllllllllllllllis<80>kb_staff^[*A.acceptance_test("At<80>kbT1")^[:w^Mjhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhdt(^[:w^M<80><fd>L<80><fd>L<80><fd>L<80><fd>L<80><fd>,<80><fd>.<80><fd>L<80><fd>L<80><fd>c<80><fd>b<80><fd>c<80><fd>b<80><fd>c<80>

It doesn't happen when I launch with vim -u NONE but it does happen if I clear out my entire ~/.vimrc and move my ~/.vim directory. It looks like there's an error in a tags file somewhere but I can't find with one.

Any ideas?

4

Turns out the answer was in the error message all along.. the offending file was ~/.viminfo which was somehow corrupted.

  • well, it does say the error is in the viminfo... – elyashiv Mar 6 '15 at 14:20
  • It does, but it says viminfo, not .viminfo or ~/.viminfo, so as someone who didn't even know that that file existed, it looked more like a generic tag than a filename. – Andrew Magee Mar 6 '15 at 21:12
  • And on windows it tends to be: "C:\Users\<username>_viminfo" – Andrew Russell Feb 9 '16 at 4:23
1

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.

:set tabstop=4
0

For me, this problem keeps showing up even if I delete the ~/.viminfo file - not right away, but a couple of days later.

I just noticed there's a way to skip using the viminfo file entirely, as detailed here:

https://unix.stackexchange.com/a/332707/22734

In summary, put the following in your ~/.vimrc

let skip_defaults_vim=1
set viminfo=""

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.