1
0
mirror of https://github.com/frebib/dotfiles.git synced 2024-06-14 12:57:23 +00:00
dotfiles/scripts/vim-setup

19 lines
479 B
Plaintext
Executable File

YCM=~/.vim/bundle/YouCompleteMe
sudo pacman -Sy python cmake clang --needed --noconfirm
#######################
## Initialise Vundle ##
#######################
mkdir -p ~/.vim/{bundle,swapfiles}
git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
vim +PluginUpdate +qall
#########################
## Setup YouCompleteMe ##
#########################
cd "$YCM"
git submodule update --init --recursive
./install.py --system-libclang --clang-completer