CentOS6.3 install spf13-vim process: install VIM7.3 and ctags compile install VIM7.3 (support for multibyte and python): # wgetftp: // ftp.vim.org/pub/vim/unix/vim-7.3.tar.bz2#tarjxvfvim-7.3.tar.bz2#cdvim73#./configu CentOS 6.3 install spf13-vim process:
Install VIM 7.3 and ctags
Compile and install VIM 7.3 (supporting multibyte and python ):
# Wget ftp://ftp.vim.org/pub/vim/unix/vim-7.3.tar.bz2
# Tar jxvf vim-7.3.tar.bz2
# Cd vim73
#./Configure -- enable-multibyte -- enable-pythoninterp = yes -- with-python-config-dir =/usr/lib64/python2.6/config
# Make & make install
# Ln-sf/usr/local/bin/vim/bin/vi
Note: if the following error occurs during compilation:
Checking size of off_t... Configure: error: in '/export/home/brant/vimsrc/vim73/src ':
Configure: error: cannot compute sizeof (off_t)
Solution: install libiconv and re-compile it.
# Echo "/usr/local/libiconv/lib">/etc/ld. so. conf
# Ldconfig
Install ctags:
# Yum install ctags
Install spf13-vim
Spf13-vim supports PHP/Python/Javascript/Go/Scala/Rails ..., You can also install custom bundle.
# Git clone https://github.com/spf13/spf13-vim.git
# Cd spf13-vim
#./Bootstrap. sh