Closed TheJefe closed 9 years ago
You could use a VimEnter autocommand.
Thanks! I knew there had to be a simple way around this.
For anyone that finds themselves with this same issue, the solution was to add this line to my .vimrc
autocmd VimEnter * Rvm use default
I'd like
Rvm use default
be run on vim startup, so I added that line to the end of my.vimrc
, but when I startup vim, I get the following error.However, I can run that command in vim command-line mode (ie
:Rvm use default
) and it works just fine.Is there a way this can be used in
.vimrc
? I feel like I must be missing something obvious, so sorry if this is a stupid question.I should also mention that I use Vundle, if that makes any difference.