CentOS 6.2 configuration vim development environment steps

  
                

vim is an excellent system text editor, commonly used in Linux systems, using vim to install itself, and need to configure its development environment, then in CentOS 6.2, how to build a vim development environment? The following small series will introduce you to the CentOS 6.2 configuration vim development environment, let's learn together.

1. First use Ubuntu (where ip is 192.168.16.230) over the wall landing http://www.vim.org/, download it above vim related plugins to the Ubuntu download directory:

cd ~/Download/

http://ctags.sourceforge.net

http://cscope.sourceforge.net/

http: //www.vim.org/scripts/script.php? Script_id=273

http://www.vim.org/scripts/script.php? Script_id=1581

http://www.vim.org/scripts/script.php? Script_id=197

http://www.vim.org/scripts/script.php? Script_id=95

http://www.vim.org/scripts/script.php? Script_id=159

http://www.vim.org/scripts/script.php? Script_id=31

http://www.vim.org/scripts/script.php? Script_id=2620

http://www.vim.org/scripts/download_script.php? Src_id=9679

http://www.vim.org/scripts/script.php? Script_id=42

http://www.vim.org/scripts/script.php? Script_id=311

Upload these archives to the target server CentOS 6.2 using sftp

cd /usr/local/src

sftp [email protected]

ls

put a.vim ***

quit

Exit sftp and start the installation below.

2.In the main directory, create a new directory, start the installation

mkdir -p .vim/plugin

mkdir -p .vim/doc

mkdir -p .vim/tags

mkdir -p ~/.vim/syntax

Transfer the above packages to ~/.vim/and install the plugins one by one:

2.1 ctags plugin (Exuberant Ctags)

Plugin to generate tag files, from the following official website

http://ctags.sourceforge.net

Download to the following source package ctags- 5.8.tar.gz, use the source installation method below

tar zxvf ctags-5.8.tar.gz

cd ctags-5.8

. /configure

make

make install

cd . . /

Found that ctags is an executable file that was copied to /usr/local/bin. You can use

ctags --help

to see the command options for the executable.

The tags file is an index file generated by the ctags program. The ctags program is called "Exuberant Ctags", which is a substitute for the ctags program on Unix, and is more powerful than most Linux distributions. The default ctags program.
Previous123456Next page Total 6 pages

Copyright © Windows knowledge All Rights Reserved