forked from lianglia-apollo/autosetup
-
Notifications
You must be signed in to change notification settings - Fork 0
/
compile_vim.sh
30 lines (29 loc) · 982 Bytes
/
compile_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
git clone https://github.com/vim/vim.git
cd vim/src
make distclean
./configure --with-features=huge \
--enable-multibyte \
--enable-rubyinterp=yes \
--enable-pythoninterp=yes \
--with-python-config-dir=/usr/lib/python2.7/config-x86_64-linux-gnu \
--enable-perlinterp=yes \
--enable-luainterp=yes \
--enable-gui=gtk2 --enable-cscope \
--prefix=/usr \
--enable-fontset \
--enable-xim \
--enable-gui=auto \
--enable-luainterp=yes \
--enable-pythoninterp=yes \
--enable-rubyinterp=yes \
--enable-cscope \
--with-x \
--with-compiledby=erocpil \
--with-features=huge
make
sudo make install
cd ../..
git clone https://github.com/gmarik/vundle.git ~/.vim/bundle/vundle
cp vimrc ~/.vimrc
vim +PluginInstall +qall
~/.vim/bundle/YouCompleteMe/install.sh --clang-completer