-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathinstall_server.sh
More file actions
executable file
·54 lines (42 loc) · 1.35 KB
/
install_server.sh
File metadata and controls
executable file
·54 lines (42 loc) · 1.35 KB
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
43
44
45
46
47
48
49
50
51
52
53
54
rm -rf ~/.viminstall
mkdir ~/.viminstall
cd ~/.viminstall
git clone https://github.com/vim/vim.git
cd vim
mkdir vimrun
./configure --with-features=huge \
--enable-multibyte \
--enable-rubyinterp=yes \
--enable-pythoninterp=yes \
--with-python-config-dir=//home/ajzhang/anaconda2/lib/python2.7/config \
--enable-python3interp=yes \
--with-python3-config-dir=//home/ajzhang/anaconda2/envs/py35/lib/python3.5/config-3.5m \
--enable-perlinterp=no \
--enable-luainterp=yes \
--enable-gui=gtk2 \
--enable-cscope \
--prefix=$HOME/.viminstall/vim/vimrun
make install
echo 'alias vim="~/.viminstall/vim/src/vim"' >>$HOME/.bashrc
echo 'export TERM=xterm-256color' >>$HOME/.bashrc
source $HOME/.bashrc
cd ~/.vim/YouCompleteMe
git submodule update --init --recursive
rm ~/.vimrc
ln -s ~/.vim/vimrc ~/.vimrc
rm -rf ~/.vim/bundle
rm -rf ~/.vim/.backup
rm -rf ~/.vim/.swap
mkdir ~/.vim/bundle
mkdir ~/.vim/.backup
mkdir ~/.vim/.swap
git clone https://github.com/gmarik/Vundle.vim.git ~/.vim/bundle/Vundle.vim
#install bundle plugins
vim +BundleInstall +qall
#compile and install you complete me
cd ~/.vim/bundle/YouCompleteMe/
./install.sh --clang-completer
#git
git config merge.tool vimdiff
git config merge.conflictstyle diff3
git config mergetool.prompt false