19 lines
380 B
Bash
Executable File
19 lines
380 B
Bash
Executable File
#!/bin/bash
|
|
set -e
|
|
|
|
# Symlink vimrc
|
|
if [ ! -f ~/.vimrc ]; then
|
|
ln -s ~/.vim/vimrc ~/.vimrc
|
|
echo "Created ~/.vimrc symlink"
|
|
fi
|
|
|
|
# Install Vundle
|
|
if [ ! -d ~/.vim/bundle/Vundle.vim ]; then
|
|
git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
|
|
echo "Vundle installed"
|
|
fi
|
|
|
|
# Install all plugins headlessly
|
|
vim +PluginInstall +qall
|
|
echo "Done"
|