Vim plug-in COMMAND-T application frequency is very high, the online introduction of a lot of articles, this blog main record the installation needs attention to the details of the problem. The VIM plugin Manager uses Vundle.
COMMAND-T relies on the Linux components mainly GCC, Ruby, Ruby-devel. Any one without installation will error. It's a good idea to check before installing. CentOS mainly commands Rpm-qa|grep commands, such as Rpm-qa|grep GCC
Specific installation steps
Install Vundle. Vundle installation steps are described in Https://github.com/gmarik/Vundle.vim. This is not an exhausting statement.
Edit the ~/.VIMRC file to add the following:
Call Vundle#begin ()
Plugin ' Wincent/command-t '
Call Vundle#end ()
After saving, vim command mode: Plugininstall
Perform make build command-t.vba under the ~/.vim/bundle/command-t directory
Edit Command-t.vba
: So%
This step will generate the necessary files to compile Ruby
CD ~/.vim/bundle/command-t/ruby/command-t
Ruby Extconf.rb
Make
Vim Plugin COMMAND-T Installation