Vim Gtags Plugin

Source: Internet
Author: User

01.Gtags func: View definitions at

02.gtags-r func: View references at

03.gtags-s text: View tags not defined by the database

04.copen: Open quick fix display window

05.cclose: Close the Quick fix display window

06.cn: Next item

07.CP: Previous

08.cl: List related items to query

09.ccN: to the nth symbol in a list

10.gtags-g pattern: Searching for the string specified by pattern

The 11.GTAGS-GIE-PATTERN:-E option can be used to search for '-' characters, but the underlying search, with no metacharacters, the-I option ignores case, options similar to grep

12.GtagsCuorsor: Depending on the cursor position, if at the definition, query its reference, if at the reference, jump to its definition, otherwise is the gtags-s command

13.gtags-p text: Query contains the path name of text, Gtags-p followed by/dir/to list files called Dir, followed by \.h$ list all the Include files

14.gtags-f file: Lists the symbols in file, gtags-f% lists the symbols of the current files

15.VIMRC with Let Gtags_auto_map = 1 Open shortcut key

1 "suggested Map:2 ifG:gtags_auto_map = =13: Nmap <F2>:copen<cr>4: Nmap <F4>:cclose<cr>5: Nmap <F5>:gtags<space>6: Nmap <F6>: Gtags-f%<cr>7: Nmap <F7>:gtagscursor<cr>8: Nmap <F8>:gozilla<cr>9: Nmap <C-n>:cn<cr>Ten: Nmap <C-p>:CP<CR> One: Nmap <C-\><C-]>:gtagscursor<cr> Aendif

16.Gtags In addition to the ' -c -n -p -q -u -v option and long name options are not available, other global options are available

Vim Gtags Plugin

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.