Update bootstrap script for new nvim config

This commit is contained in:
ViViDboarder 2015-10-27 22:56:35 -07:00
parent 7221f87639
commit 25eea9537e

View File

@ -24,10 +24,15 @@ VIM_SYNC_DIR=$(pwd)
ln -s $VIM_SYNC_DIR/vimrc ~/.vimrc ln -s $VIM_SYNC_DIR/vimrc ~/.vimrc
ln -s $VIM_SYNC_DIR/vim ~/.vim ln -s $VIM_SYNC_DIR/vim ~/.vim
# Neovim # Neovim legacy
ln -s $VIM_SYNC_DIR/vimrc ~/.nvimrc ln -s $VIM_SYNC_DIR/vimrc ~/.nvimrc
ln -s $VIM_SYNC_DIR/vim ~/.nvim ln -s $VIM_SYNC_DIR/vim ~/.nvim
# Neovim new
mkdir -p ${XDG_CONFIG_HOME:=$HOME/.config}
ln -s $VIM_SYNC_DIR/vimrc $XDG_CONFIG_HOME/nvim/init.vim
ln -s $VIM_SYNC_DIR/vim $XDG_CONFIG_HOME/nvim
# Install all bundles # Install all bundles
echo "Install all bundles" echo "Install all bundles"
vim +PlugInstall +qall vim +PlugInstall +qall