-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathvim.sh
More file actions
executable file
·27 lines (22 loc) · 854 Bytes
/
vim.sh
File metadata and controls
executable file
·27 lines (22 loc) · 854 Bytes
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
#!/bin/sh
# vimをinstallする
# オプションは適宜変更
cd $HOME
mkdir tmp
cd tmp
hg clone https://vim.googlecode.com/hg/ vim
# 更新する場合は
cd ./vim
hg pull
hg update
# wget ftp://ftp.vim.org/pub/vim/unix/vim-7.4.tar.bz2
# tar -xjf vim-7.4.tar.bz2
# cd vim74
# mkdir patches
# cd patchs
# seq -f http://ftp.vim.org/pub/vim/patches/7.4/7.4.%03g 355 | xargs wget
# cd ..
# cat patches/7.4.* | patch -p0
# ./configure --with-features=huge --enable-multibyte --enable-rubyinterp --enable-pythoninterp --enable-luainterp
./configure --with-features=huge --enable-multibyte --enable-pythoninterp=dynamic --enable-tclinterp --enable-cscope --enable-fontset --enable-gnome-check --disable-gui --without-x --enable-gpm --with-python --with-python3 --with-lua --with-ruby --with-python-config-dir=/usr/local/bin/python
make && make install