sponsor Vim development Vim logo Vim Book Ad

VimCompletesMe : Simple tab completion for Vim

 script karma  Rating 21/6, Downloaded by 309    Comments, bugs, improvements  Vim wiki

created by
Akshay Hegde
 
script type
utility
 
description
A super simple, super minimal, super light-weight tab-completion plugin for Vim.

Without configuration, the Tab key will:

    Use Vim's local keyword completion (Ctrl-X_Ctrl-N).
    Complete a file path (Ctrl-X_Ctrl-F)
    Offer omni-completion after typing a period. (Ctrl-X_Ctrl-O)

With a b:vcm_tab_complete variable, the Tab key will complete using:

    Dictionary words (Ctrl-X_Ctrl-K)
    User-defined completion (Ctrl-X_Ctrl-U)
    Tags (Ctrl-X_Ctrl-])
    Vim command line (Ctrl-X_Ctrl-V)

You can set the b:vcm_tab_complete variable interactively, or in an autocommand:

autocmd FileType text,markdown let b:vcm_tab_complete = 'dict'

Striving for minimalism, this plugin weighs under 80 lines of code.

Note: You can always get the latest version on github: https://github.com/ajh17/VimCompletesMe
 
install details
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
VimCompletesMe-1.2.1.zip 1.2.1 2015-04-19 7.3 Akshay Hegde This is a hotfix release that fixes Vim 7.3 compatibility.
VimCompletesMe-1.2.zip 1.2 2015-04-18 7.4 Akshay Hegde * Fix an issue with remapping default keybindings
* Documentation updates
VimCompletesMe-1.1.zip 1.1 2015-02-09 7.3 Akshay Hegde - Add an option to disable default maps
- Fix an issue where fallback completion would enter a letter below the cursor
- Documentation fixes
VimCompletesMe-1.0.zip 1.0 2014-12-28 7.3 Akshay Hegde * Provide a way to fallback to keyword completion if completion with b:vcm_tab_complete variable fails
* Simplified a lot of the code
* Fix a minor helptag reference
VimCompletesMe.zip 0.3 2014-04-13 7.3 Akshay Hegde VimCompletesMe v0.3

- Allows user to set 'b:vcm_tab_complete' to "omni" to allow omnicompletion without typing a period.
VimCompletesMe.zip 0.2 2014-03-31 7.3 Akshay Hegde VimCompletesMe v0.2

- Minor changes in README
- Added FAQ section in the docs
- Fix plugin name on vim.org
VimComplesMe.zip 0.1 2014-03-24 7.3 Akshay Hegde Initial upload
ip used for rating: 54.87.72.176

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
SourceForge.net Logo