1
0
Fork 0

neovim: Source init.vim to use headless PlugInstall

This commit is contained in:
Jeremy Kaplan 2021-05-21 18:24:48 -07:00
commit 56f6c13001
3 changed files with 2 additions and 6 deletions

View file

@ -4,6 +4,5 @@ set -euo pipefail
CURDIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
# I wish I could use `--headless` here to avoid screen flashing, but this
# doesn't seem to work if I set that.
nvim -s "${CURDIR}/pluginstall.vim"
# https://github.com/junegunn/vim-plug/wiki/tips#install-plugins-on-the-command-line
nvim -es -u ~/.config/nvim/init.vim -i NONE -c "PlugInstall" -c "qa"