1. Installation
: Http://www.vim.org/scripts/script.php? Script_id = 1, 273
Decompress the package to the directory ~ /. Vim.
In ~ /. Add the following lines to the vimrc file:
Let tlist_use_left_window = 1let tlist_file_fold_auto_close = 1let tlist_show_one_file = 1let tlist_gainfocus_on_toggleopen = 1let tlist_exit_onlywindow = 1
Two shortcut keys
Command Line shortcut:
1: tlist
Open or close the taglist window.
2: ts Param
Search for related functions or variables
3: Help taglist
Help
Taglist window shortcut:
1 Ctrl + W
Switch between the normal editing area and the tags Area
2In the tags area, move the cursor to the variable and function name, and press enter to automatically locate the specified content in the normal editing area.
Locate the specified content
3 O
Display the tag under the cursor in a new window
4 SPACE
Display the prototype definition of the tag under the cursor
5 u
Update tags in the taglist window
6 s
Change the sorting method and switch between name-based and order-based
7 x
The taglist window is zoomed in and out to facilitate viewing long tags.
8 +
Open a fold, same as Zo
9-
Fold the tag, same as ZC
10 *
Open all folds, same as Zr
11 =
Fold all tags, same as ZM
12 [[
Jump to the previous file
13]
Jump to the next file
14 Q
Close the taglist window