I’ve copy pasted this .vimrc into my /etc/vimrc in Fedora 15. Every time I use vim for anything, I get a number of errors with line numbers which don’t seem to be the correct line numbers of my vimrc file because there aren’t any ‘\’s on those lines.
I’ve googled this and there is a similar stack overflow question, but I believe it is irrelevant to my question.
I also removed everything that said MySys() == linux/max/windows or etc because I’m using linux so I just used the linux lines.
Any ideas?
Edit—
Here’s my (barely) modified vimrc file:
https://docs.google.com/document/d/1PznK0FizGlBr6W6m9wikM334q8b6KFFCgmsF-f8MX3s/edit?hl=en_US
Error you mentioned here normally happens in one of the following cases:
:execute.To remove the second case run vim using
vim -N. If no errors appear, addset nocompatibleat the top of the vimrc. If errors still appear, search forexe(as:executecan be truncated to:exe) and check out whether somewhere line matching\n\s*\\is passed to:execute.