VIM + ctags in Windows

Source: Internet
Author: User

 

Download and install gvim gvim71.exe
Download ec57w32.zip (ctags) to connect to ctags

Decompress the package and copy ctags.exe to C:/Windows/system32/
Download the taglist

Decompress the package and copy the plug-in/taglist. Vim DOC/taglist.txt files to the corresponding directory of the vim installation directory.

Run ctags-r XXX in cmd terminal to generate tags
Ctags-r -- C ++-kinds = + p -- fields = + IAS -- extra = + q
Edit vimrc
Add
"Add By liyazhou
Set Ts = 4
Set IC
Set nu
Set incsearch
Set hlsearch

Set shiftwidth = 4
Syntax on
Set AI
Set Si

Let tlist_ctags_cmd = "ctags.exe"
Let tlist_auto_open = 1
Let tlist_exit_onlywindow = 1
Set tags = D:/Company/from_cvs/spidev/spiv4.5/tags

Set nobackup
Set nowb
Colo darkblue // set the color scheme
Cd d:/company //
E. // open the current directory

Nnoremap <silent> <F6>: tlist <CR>

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.