VIM Environment Setup

Source: Internet
Author: User

Ctags-r the root directory to generate tags

Add set tags=/.../.../tags in. vimrc

CTRL +] Jump

G CTRL +] cross-directory jump

: TS Lists all

: TP jumps to the previous

: TN jumps to the next

Tlist Installation

Download the latest version of TagList plugin to http://www.vim.org/scripts/script.php?script_id=273.

After downloading, unzip the file in the ~/.vim/directory

Unzip

This puts a file in the ~/.vim/plugin and ~/.vim/doc directories:

Plugin/taglist.vim–taglist Plug-in

Doc/taglist.txt-taglist Help Files

Some configuration items

"""""""""""""""""""""""""""""
"Tag list (ctags)
""""""""""""""""""""""""""""""
Let Tlist_ctags_cmd = '/usr/bin/ctags '
Let Tlist_show_one_file = 1
Let Tlist_exit_onlywindow = 1
"Let Tlist_use_right_window = 1
Let Tlist_auto_open=1

Http://www.cnblogs.com/adm1989/archive/2013/04/09/3010670.html

Vim Auto-complete

FileType plugin indent on
Open file type detection, add this sentence can be used to complete the smart
Set Completeopt=longest,menu

C-n and C-p

VIM Environment Setup

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.