Configuration of Vim in Centos

Source: Internet
Author: User

工欲善其事, its prerequisite, we need to use VIM first to configure it handy, this can greatly improve our work learning efficiency

1. Jump Command CTAGS1

Download ctags from the address below and copy the Ctags.exe to the Vim directory, such as E:\Vim\vim74\ctags.exe
Http://sourceforge.net/projects/ctags/files/ctags/5.8/ctags58.zip/download

2. Efficiently browse the source code--plugin: TagList

Download taglist from the address below and copy the doc and plugin to the corresponding directory in Gvim:
Copy the Doc\taglist.txt file to the ~\vim\vimfiles\doc
Copy the Plugin\taglist.vim file to the ~\vim\vimfiles\plugin

To configure the _VIMRC file, add the following lines in the _VIMRC (the path of the second line fills your own):

The Specify Ctags.exe path
Let Tlist_ctags_cmd=/usr/share/vim/vim74/ctags.exe '
Let Tlist_auto_open=1

Re-open vim after OK enter in command mode: Tlist

3. File Browser and window Manager-plugin: Winmanager

(1) Prepare the Winmanger plug-in, from the following URL:

Http://www.vim.org/scripts/script.php?script_id=95

(2) After extracting two folders plugin and doc, copy them to a similar ~\vim\vim73 directory, with the existing plugin and Doc merged with the directory

(3) Modify the _VIMRC file to add the following configuration:


The Set Winmanager
"Set Interface segmentation
Let g:winmanagerwindowlayout = "taglist| FileExplorer "
"Sets the width of the Winmanager, which defaults to 25
Let G:winmanagerwidth = 30
"Define open close Winmanager shortcut key to F8
Nmap <silent> <F8>:wmtoggle<cr>
"Automatically opens Winmanager when you enter VIM
Let G:autoopenwinmanager = 1

Re-open vim after OK enter wmtoggle in command mode

Here is the information I have referred to:

Http://www.cnblogs.com/feichexia/archive/2012/11/05/vim2_taglist.html

Configuration of vim in Centos

Related Article

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.