1. Download Vim
Http://www.vim.org/download.php
2. Download vimgdb
Http://clewn.sourceforge.net/
3. Extract
# Tar jxf vim-7.2.tar.bz2
# Tar zxf vimgdb72-1.14.tar.gz
4. Patch
# Patch-D vim72 -- backup-P0 <vimgdb/vim72.diff
5. Configure compilation Parameters
# Cd vim72
#. /Configure -- disable-Gui -- enable-tclinterp -- enable-CSTE -- enable-GDB -- enable-multibyte -- enable-xim -- enable-pythoninterp -- enable-multibyte -- enable-Gui = GTK -- enable-Gui = gtk2 -- With-x prefix =/usr/local/share/Vim
6. Compile
# Make distclean & make install
7. link the execution file to/usr/bin
# Ln-S/usr/local/share/Vim/bin/Vim/usr/bin/Vim
# Ln-S/usr/local/share/Vim/bin/gvim/usr/bin/gvim
8. Install ctags and csags
# Emerge-AV ctags
# Emerge-AV cscope
The above is the installation of Gentoo Linux. You can also download the source code for compilation and installation on the website.