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