-
Notifications
You must be signed in to change notification settings - Fork 0
/
install_plugins.sh
37 lines (31 loc) · 1.23 KB
/
install_plugins.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#!/bin/bash
# this script will install pathogen and my favorite plugins from github,
# and create symlink to .vimrc from this rep
# works on linux, mac and windows(msys)
# Also includes .ideavimrc (for IntelliJ Idea vim plugin)
case "$OSTYPE" in
linux*|darwin*|bsd*)
VIMHOME=.vim
;;
msys*)
VIMHOME=vimfiles
;;
esac
ln $(pwd)/vim-config/.vimrc ~/.vimrc
ln $(pwd)/vim-config/.ideavimrc ~/.ideavimrc
mkdir -p ~/$VIMHOME/autoload ~/$VIMHOME/bundle
cd ~/$VIMHOME/autoload
wget https://raw.githubusercontent.com/tpope/vim-pathogen/master/autoload/pathogen.vim
cd ~/$VIMHOME/bundle
git clone https://github.com/mattn/emmet-vim.git
git clone https://github.com/othree/html5.vim.git
git clone https://github.com/Valloric/MatchTagAlways.git
git clone https://github.com/fholgado/minibufexpl.vim.git
git clone https://github.com/scrooloose/nerdtree.git
git clone https://github.com/vim-scripts/bufkill.vim.git
git clone https://github.com/ervandew/supertab.git
git clone https://github.com/Townk/vim-autoclose.git
git clone https://github.com/flazz/vim-colorschemes.git
git clone https://github.com/skammer/vim-css-color.git
git clone https://github.com/groenewege/vim-less.git
git clone https://github.com/tpope/vim-commentary.git