Use the taglist function in VIM

Source: Internet
Author: User

Download

Wget http://www.vim.org/scripts/download_script.php? Src_id = 19574-O taglist.zip

Then decompress taglist.zip ~ /. Vim/directory

 

Use the following command in VIM to switch the taglist display.

: Tlisttoggle

Use Ctrl + W to switch between the normal window and the taglist window.

 

In ~ /. Configure the following in vimrc:

Let tlist_ctags_cmd = '/usr/bin/ctags' "sets the location of the ctags program in Linux. Let tlist_show_one_file = 1" the tag of multiple files is not displayed at the same time, show only the current file's let tlist_exit_onlywindow = 1 "if the taglist window is the last window, exit vimlet tlist_use_right_window = 1" display the taglist window in the right window
Let tlist_auto_open = 1 "automatically opens the taglist window after Vim is started.
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.