SuperTab : Do all your insert-mode completion with Tab.

SuperTab Poly Folders in super-bright colors will liven up your desktop and are easy to find in any filing system. Oversize tabs feature a 90 percent larger labeling area than standard folders so you can use larger text or more lines of description. 1/3-cut tabs come in assorted positions for easy label viewing. New album out now! Live with super8 & tab.

Oversized 1/3-cut SuperTab allows for larger text or more lines of description; Three sections per folder each expand 3/4' for extra capacity; Efficient way to keep multiple projects and loose documents organized in one folder; Contains 10% recycled content, 10% post-consumer material. Get free shipping when you order Smead SuperTab® Organizer File Folder, Oversized 1/3-Cut Tab, Letter, Assorted Colors, 3/Pack (11989) today at Quill.com. Stack coupons to get free gifts & extra discounts! New album out now! Live with super8 & tab.


SuperTab
script karma Rating 2909/915, Downloaded by 90941 Comments, bugs, improvements Vim wiki
created by
Eric Van Dewoestine
script type
utility
description
Overview
Supertab allows you to use <Tab> for all your insert completion needs
(:help ins-completion).
Features
- Configurable to suit you needs:
- Default completion type to use.
- Prevent <Tab> from completing after/before defined patterns.
- Close vim's completion preview window when code completion is finished.
- When using other completion types, you can configure how long to 'remember'
the current completion type before returning to the default.
- Don't like using <Tab>? You can also configure a different pair of keys to
scroll forwards and backwards through completion results.
- Optional improved 'longest' completion support (after typing some characters,
hitting <Tab> will highlight the next longest match).
- Built in 'context' completion option which chooses the appropriate completion
type based on the text preceding the cursor.
- You can also plug in your own functions to determine which completion type
to use.
- Support for simple completion chaining (falling back to a different
completion type, keyword completion for example, if omni or user completion
returns no results).
You can also find supertab on github repository:
http://github.com/ervandew/supertab
install details
1. Download supertab.vmb to any directory.
2. Open the file in vim ($ vim supertab.vmb).
3. Source the file (:so %).
script versionsSupertab (upload new version)

Supertab Software

Click on the package to download.

packagescript versiondateVim versionuserrelease notes
Eric Van DewoestineFull list of changes: https://github.com/ervandew/supertab/compare/2.0...2.1
Eric Van Dewoestine- added support for chaining two completion types (falls back to the second if not results from the first).
- added setting to close completion preview window when the completion popup closes.
- improved compatibility with other plugins.
- other minor bug fixes.
Eric Van Dewoestine- couple longest enhancement fixes
- added ability to disable supertab via a buffer local variable
- few other miscellaneous fixes.
Eric Van Dewoestine- updated to support user mapped <c-n>/<c-p>
- fix logic to decide whether to scroll up or down based on current completion context
- fix <c-x><c-*> w/ longest enhancement enabled
Eric Van DewoestineFix error that occurs attempting to complete after optional alternate completion mapping or :SuperTabHelp have set the completion type.
Eric Van Dewoestine- fix error attempting tab completion if buffer was loaded with no autocmds fired
- fix tabbing through completion results with longest enabled when the longest text expanded is the empty string.
Eric Van Dewoestine- fix to not break abbreviation expansion on <cr>
- when using longest enhancement, save/restore any previous mappings for <bs>/<c-h>
- fix <cr> mapping to cooperate better with <cr> mappings of other plugins (ex. endwise)
- created variables to set user defined list of before or after patterns for which completion should not be attempted (:h supertab-preventcomplete)
Eric Van Dewoestine- added optional default <cr> mapping to end completion mode (enabled by default)
- added support for an enhanced longest match completion (disabled by default)
- other minor enhancements + bug fixes
Eric Van Dewoestine- fixed reverse cycling through result when using <c-n> completion
- now distributed as a vimball with a help file (:h supertab). Thanks to Christophe-Marie Duquesne.
Eric Van DewoestineFixed a possible error that may occur in some rare conditions.
Eric Van Dewoestine- Refactored the contextual completion and default discovery support.
- Context completion now supports plugable functions to determine which
completion type to use.
- Default discovery is now a part of context completion.
- NOTE: Several non-backwards compatible configuration changes where made.
- g:SuperTabRetainCompletionType is now g:SuperTabRetainCompletionDuration
and accepts one of 'none', 'insert', or 'session'.
- new setting g:SuperTabCompletionContexts defines which context completion
functions are consulted.
- g:SuperTabDefaultCompletionTypeDiscovery is now
g:SuperTabContextDiscoverDiscovery and requires that
g:SuperTabContextDefaultCompletionType is set to 'context' and that
's:ContextDiscover' is in your g:SuperTabCompletionContexts list.
Please see the updated 'Global Variables' fold in supertab.vim for additional
details and examples.
Eric Van DewoestineReplaced internal function s:IsWordChar with vim's keyword character class (Thanks to Ingo Karkat for the patch).
Eric Van DewoestineAdded check for vim 7 or greater, otherwise disable supertab support (suggested by Vincent Lee). Also, removed any remaining pre vim 7 logic that is no longer applicable.
Eric Van Dewoestinefixed case where new buffer may not be initialized by super tab (thanks to Tammer Saleh for reporting the issue).
Eric Van DewoestineFixed command line completion (ctrl-x ctrl-v) when invoked from supertab. Thanks to Frank Chang for the patch.
Eric Van Dewoestinefixed issue with default completion discovery option if desired type is dependent on file type plugins. Thanks to Andreas Schneider for reporting the issue.
Eric Van DewoestineAdded support for default completion type 'context', which will result in super tab attempting to determine which completion type to use (file, user/omni, keyword) based on the text preceding the cursor (Based on suggestion by Fran├žois Beaubert).
Eric Van Dewoestine- fixed possible completion error on first buffer as supertab may not have been properly initialized (thanks to bill emmons for discovering the error).
Eric Van Dewoestine- added config variable to specify discovery list used to determine the default completion type to use for the current buffer. (based on request by Den Yao)
- added config variables to changed the default mappings for forward backwards completion. (based on request by Li Chaoqun)
- added config variable to preselect the first entry when completeopt has 'menu' and 'longest'. (based on suggestion and patch by Mike Lundy)
Eric Van DewoestineWith the permission of the original author, this script is now released under the BSD license.
Eric Van Dewoestine- Added g:SuperTabMidWordCompletion variable to determine if completion should be done within a word (enabled by default). (based on request by Charles Gruenwald)
- Applied patch to fix <s-tab> cycling through completion results. (submitted by Lukasz Krotowski)
Eric Van DewoestineInitial upload

Supertab 11sd

ip used for rating: 188.40.85.20
Coments are closed

Recent News

  • USB Network Gate For Mac
  • WeathrClip
  • MyLibraryMusic
  • Password Pig

Scroll to top