forked from andrewintw/skel-home
-
Notifications
You must be signed in to change notification settings - Fork 0
/
gen_vim.sh
executable file
·36 lines (25 loc) · 1.05 KB
/
gen_vim.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/sh
print_info () {
local msg=$1
echo "INFO >> $msg"
}
mkdir -p vim/autoload vim/bundle vim/syntax
print_info "install ctrlp"
git clone -q https://github.com/kien/ctrlp.vim.git vim/bundle/ctrlp.vim
print_info "install molokai"
git clone -q https://github.com/tomasr/molokai.git vim/bundle/molokai
print_info "install nerdtree"
git clone -q https://github.com/scrooloose/nerdtree.git vim/bundle/nerdtree
print_info "install vim-airline"
git clone -q https://github.com/vim-airline/vim-airline.git vim/bundle/vim-airline
git clone -q https://github.com/vim-airline/vim-airline-themes vim/bundle/vim-airline-themes
print_info "install taglist"
mkdir -p vim/bundle/taglist_46 && \
unzip -qq pkgs/taglist_46.zip -d vim/bundle/taglist_46 && \
print_info "install pathogen"
curl -LSso vim/autoload/pathogen.vim https://tpo.pe/pathogen.vim
print_info "install syntax"
curl -LSso vim/syntax/arduino.vim 'http://www.vim.org/scripts/download_script.php?src_id=23284'
print_info "copy vimrc"
cp config/vimrc vim
print_info "DONE, have fun :-)"