I\'m trying to get my Vim to update on the fly after editing vimrc. So I followed the instructions at Vimcast which basically source vimrc every time you hit save.
B
That's :source ...
, executed from within Vim. From your output, it appears that you have mistakenly executed it in the Bash shell itself (maybe via :!source
); source
also is a Bash built-in command (like .
) to execute the file contents as Bash commands.
To debug the :autocmd
that's not working for you, you could temporarily add
:echomsg "executing .vimrc"
or write the .vimrc
with :15verbose write
to see what's going on.