-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Run PlugInstall non-interactively from command line #675
Comments
It's a warning not an error. As far as I know, vim will proceed to install the plugins even in that case. Since the installer on Vim 8 is asynchronous, you might want to pass vim +'PlugInstall --sync' +qa Let me know if it doesn't work as expected. |
That worked, thank you! What does the And the |
|
Thanks! - I wish I would have looked this up sooner. It's great to be able interact with vim in a shell script. |
Thanks to this:
|
Note that you need a newer NeoVim version for this. NeoVim 0.2.2 (which is the current version you might get using What worked for me was the Automatic Installation section of this github wiki page: Place the following code in your .vimrc before plug#begin() call
Make sure you change the |
If you are using deoplete on nvim, adding this line worked for me:
First line installs plugins (see comments above), 2nd line updates remote plugins (required for deoplete). |
I'd like to run PlugInstall non-interactively from the command line to provision a new system (using Ansible in this case). If I do
vim -c 'PlugInstall'
it works, but it is interactive, opening up a terminal window where you can see the progress of the installation. If I try to run it non-interactively I get an error, e.g."Vim: Warning: Output is not to a terminal", "Vim: Warning: Input is not from a terminal"
.NeoBundle provides a script to install
~/.vim/bundle/neobundle.vim/bin/neoinstall
non-interactively, couldvim-plug
offer something similar?The text was updated successfully, but these errors were encountered: