CentOS6.3 spf13-vim installation process

Source: Internet
Author: User
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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.