先从官网下载
tar xjvf vim-7.0.tar.bz2
tar xzvf vim-7.0-lang.tar.gz
./configure --with-features=huge --enable-cscope --enable-multibyte --enable-xim
make install
/usr/local/bin/vim --可见到是7.0
/usr/local/bin/gvim 一样是7.0
mv /usr/bin/vim /usr/vim-bak
mv /usr/bin/gvim /usr/gvim-bak
ln -s /usr/local/bin/vim /usr/bin/vim
ln -s /usr/local/bin/gvim /usr/bin/gvim
阅读(2023) | 评论(0) | 转发(0) |