sponsor Vim development Vim logo Vim Book Ad

VimCompletesMe : Simple tab completion for Vim

 script karma  Rating 80/29, Downloaded by 2647  Comments, bugs, improvements  Vim wiki

created by
Akshay Hegde
script type
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.5.2.zip 1.5.2 2020-12-30 7.3 Akshay Hegde - Avoid clobbering completeopt's 'noselect'
- Ensure fallback completion uses the same direction as the normal completion
VimCompletesMe-1.5.1.zip 1.5.1 2018-03-14 7.3 Akshay Hegde This is a hotfix release over VimCompletesMe v1.5 which fixes a function naming issue.
VimCompletesMe-1.5.zip 1.5 2018-03-12 7.3 Akshay Hegde - VCM is now more consistent when using "p" for the g:vcm_direction
- g:vcm_direction is now "n" as the default
- Introduce vcm_omni_pattern variable to set patterns to look for, for smart invocations of i_Ctrl-x_Ctrl-o
- Introduce vcm_s_tab_mapping option to allow user to set their own action commands for Shift Tab key press
- General fixes and improvements

See :help VimCompletesMe for full details.
VimCompletesMe-1.3.tar.gz 1.3 2016-04-22 7.3 Akshay Hegde - General improvements to completion behavior
- Minor bugfixes
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:

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.