2009年5月15日金曜日

set gvim to linux

1.download the newest vim source
http://www.vim.org/download.php#unix

2.configure it like follows
$ ./configure \
--prefix=/usr/local/vim72 \ # install directory
--with-x --enable-gui=gtk2 \ # configure gvim
--with-features=huge

3.set links
# mv /usr/bin/vim /usr/bin/vim61 # backup old link
# ln -s /usr/local/vim72/bin/vim /usr/bin/vim # copy new executable vim

4.copy plugin
copy the follow plugins from
https://vimsetup.googlecode.com/svn/trunk
to
/usr/local/vim72/share/vim/vim72/plugin
taglist.vim
hz_ja.vim
encode_japan.vim

5.copy .vimrc to ~/

0 件のコメント: