|
|
|
|
|
by Watabou
3375 days ago
|
|
I made a plugin [1] similar to this which offers more options when you press the Tab key. For instance, if you're typing a file path, you get Ctrl-X Ctrl-f completion (vim's file path completion) instead of the regular keyword completion. And if you type a period (configurable) and press Tab in filetypes like C, Python, Ruby, etc, you get omni completion (vim's semi-intelligent completion, which offers methods on classes, looks in ctags files, etc). The great thing is that I was able to do this in less than 100 lines of code, and I love using it myself every day at work. Just goes to show that Vim has a pretty good completion system already and you don't need to use some bloated plugin system like YouCompleteMe or Neocomplete. [1]: https://github.com/ajh17/VimCompletesMe |
|
(I haven't actually checked yours out, but I assume they're very similar in what they offer)
[1]: https://github.com/lifepillar/vim-mucomplete