Tuesday, January 28, 2014

Easy solution: vim caught deadly signal segv vim preserving files vim finished

Ran into this irritating problem when everything was initially working fine on my system.

I had copy pasted something into the command window by mistake which caused vi to crash and keep spitting this out. I am using a Fedora version.

Thing that I tried which did not work:
1. Rebooting
2. Uninstalling and reinstalling vi

Solution: Under your home directory there is a file .viminfo which contains all the cached vi information. Delete this file. It will get recreated afresh the  next time vi starts. Just deleting this file fixed the problem for me.

7 comments:

Anonymous said...

you saved my day...

Anonymous said...

Thank you!

Varsha Anand said...

It did not fix the probelm by deleting .viminfo Please suggest any other solution.

Unknown said...

i agree

Unknown said...

i agree

Unknown said...

Thank you so much!

misfit said...

I am glad its helping :)

Post a Comment