Install and use supertab in VIM

Source: Internet
Author: User

Successfully transformed Vim into four powerful ide Series

"Plugin Introduction 』

Supertab enables quick context prompt for tab shortcuts.

"Download and install 』

From http://www.vim.org/scripts/script.php? Script_id = 1643 download the installer. This installation package is different from the previous Vim plug-ins. It is a VBA file, that is, an installation package in vimball format. This installation package provides a silly Method for installing the plug-in.

1) Use Vim to open the. VBA installation package.

2) run the command "usevimball ~" in the vim command line ~ /. Vim ". This command decompress the installation package ~ /. Vim directory. The convenience of vimball installation method is that you can open. VBA package installation in any directory without switching to the installation destination directory. You do not need to run the helptags command to install the help documentation.

3) In ~ /Add the following lines to the vimrc file:

Let G: supertabdefacomplecompletiontype = "context"

"Basic Function usage 』

Supertab is easy to use. As long as you press the tab key halfway through the input variable name or path name, you can get the list of previously entered symbols and use the tab key to cyclically select.

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.