Why can't I source my vimrc after installing vundle?

后端 未结 1 1576
忘掉有多难
忘掉有多难 2021-01-07 11:38

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

相关标签:
1条回答
  • 2021-01-07 12:11

    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.

    0 讨论(0)
提交回复
热议问题