Taglist of VIM plug-in

Source: Internet
Author: User
Tags prototype definition
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

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.