forked from gialib/vimfile
-
Notifications
You must be signed in to change notification settings - Fork 0
/
install.sh
executable file
·43 lines (32 loc) · 949 Bytes
/
install.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
37
38
39
40
41
42
mkdir -p ~/tmp
rm -rf ~/tmp/vim-backup
mkdir -p ~/.vim
mv ~/.vim ~/tmp/vim-backup
# git clone [email protected]:blogsoso/vimfile.git ~/.vim
git clone https://github.com/gialib/vimfile.git ~/.vim
cd ~/.vim
mkdir -p ~/.vim/bundle
# cp .vimrc ~/.vimrc
# cp .gvimrc ~/.gvimrc
rm ~/.vimrc
rm ~/.gvimrc
ln -s ~/.vim/.vimrc ~/.vimrc
ln -s ~/.vim/.gvimrc ~/.gvimrc
touch ~/.vim/.vimrc_local
touch ~/.vim/.gvimrc_local
touch ~/.vim/vundlerc_local
mkdir -p ~/.vim/bundle/vundle
cd ~/.vim/bundle/vundle && git clone git://github.com/gmarik/vundle.git .
vim +BundleInstall +qall
# # install monaco font
# cd ~/tmp
# wget http://www.gringod.com/wp-upload/MONACO.TTF
# sudo cp MONACO.TTF /usr/share/fonts/truetype/
# git clone https://github.com/pdf/ubuntu-mono-powerline-ttf.git ~/.fonts/ubuntu-mono-powerline-ttf
# sudo fc-cache -f -v
#
# # install ctags
# sudo apt-get install ctags
#
# # install ack-grep
# sudo apt-get install ack-grep