Vim Tips Wiki


1,624pages on
this wiki
Add New Page

Use this page to discuss script 1643 SuperTab

  • Add constructive comments, bug reports, or discuss improvements (see the guideline).
  • Do not document the script here (the author should do that on
  • This page may be out of date: check the script's page above, and its release notes.

This script replaces script#182.

It allows you to do all your insert-mode completion with the Tab key.


This script could have a shortcut to cycle between completion modes, for example:

tab would start completion mode
tab again would change to dictionary mode
tab again would change to tags

--December 13, 2010

set langmap=e;h causes the plugin to fail for some reason. --October 26, 2011

Nice job! Thanks for creating and maintaining this! -- Mike Ellis February 4, 2012

Current version 1.6 seems to have unpleasant side effect/bug. For those of us still using Ctrl-N and Ctrl-P to autocomplete, behavior is reversed compared to normal; for example hitting Ctrl-N selects nearest completion that come BEFORE the cursor position, not the one that is AFTER it. This is very confusing and unfortunate. -- Olek Poplavsky May 15 2012

Great plugin, thanks for all the hard work!

I don't know if this is a feature or bug, but without SuperTab, Ctrl-N and P would autocomplete nearest keyword with 2 characters or more, making writing stuff like counter = counter + 1 fast (you just type "counter = <C-P> + 1", but with SuperTab, both just insert tabs instead.

I understand that <Tab> after \s (i.e. with withspace before cursor) might be useful to interpret as "I want to add a tab", but it would be nice if <C-N> and <C-P> would not do that, as I feel I'm losing a bit of Vim standard functionality when I enable SuperTab.

-- Joonas Pihlajamaa Jul 05 2013

Ad blocker interference detected!

Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

Also on Fandom

Random Wiki