Reputation: 99
Everything worked fine a couple weeks ago and then boom! Out of no where I got this error from my .vimrc. I reduced it to the very ultimately basic version but nothing changed.
Ultimately superiorly basic version:
Actual footage:
Upvotes: 7
Views: 18734
Reputation: 196886
You are trying to source your vimrc
in your shell, which doesn't make any sense at all.
Vim uses its own scripting language that is not understood by your shell and your shell uses its own scripting language that is not understood by Vim so there's no reason whatsoever to expect $ source ~/.vimrc
(in your shell) or :source ~/.bashrc
(in Vim) to do anything useful.
You can, however…
:source ~/.vimrc
,Upvotes: 33