When trying to install the vim extensions by running vim +BundleInstall +qall
, a number of messages are printed to the screen:
Error detected while processing ~/.vim/init/colorscheme.vim:
line 2:
E185: Cannot find color scheme solarized
line 4:
E121: Undefined variable: colors_name
E15: Invalid expression: colors_name == 'solarized'
For better file matching compile and install `burke/matcher`
cd ~/.vim/bundle/matcher
make && sudo make install
Error detected while processing ~/.vim/after/plugin/edit_plus.vim:
line 2:
E24: No such abbreviation
Press ENTER or type command to continue
The errors are because the extensions are not yet installed (which the user is in the process of trying to do). The warning is about the matcher
command not being installed on the system, which also can't be done (at least, not as directed) until the extensions are installed (which, again, the user is in the process of trying to do).
Because of these warning messages, the user must press "enter" to proceed, which impairs scriptability. (Specifically, I'm trying to update the @pivotal-sprout vim recipe, but it hangs on the prompt.)
After some digging, I saw that one can use the :silent
command to silence shell commands executed from within vim; however, it's unclear to me how, if at all, one could silence the reading of the vimrc on startup (if only for the sake of this one-off command).