README 885 B

123456789101112131415161718192021222324
  1. This is a mirror of http://www.vim.org/scripts/script.php?script_id=4902
  2. A super simple, super minimal, super light-weight tab-completion plugin for Vim.
  3. Without configuration, the Tab key will:
  4. Use Vim's local keyword completion (Ctrl-X_Ctrl-N).
  5. Complete a file path (Ctrl-X_Ctrl-F)
  6. Offer omni-completion after typing a period. (Ctrl-X_Ctrl-O)
  7. With a b:vcm_tab_complete variable, the Tab key will complete using:
  8. Dictionary words (Ctrl-X_Ctrl-K)
  9. User-defined completion (Ctrl-X_Ctrl-U)
  10. Tags (Ctrl-X_Ctrl-])
  11. Vim command line (Ctrl-X_Ctrl-V)
  12. You can set the b:vcm_tab_complete variable interactively, or in an autocommand:
  13. autocmd FileType text,markdown let b:vcm_tab_complete = 'dict'
  14. Striving for minimalism, this plugin weighs under 80 lines of code.
  15. Note: You can always get the latest version on github: https://github.com/ajh17/VimCompletesMe