![]() ![]() Supertab allows you to use for all your insert completion needs Some options are decent, but nothing is perfect, and there rarely is a majority leader / best practice.SuperTab : Do all your insert-mode completion with Tab. Unfortunately, this has lead to a splintered autocompletion ecosystem. Vim has a moderate language bias towards untyped C-like languages, and otherwise has the expectation that any language specific features will be added by users as plugins. I haven't used a single IDE that has an acceptable Vim mode. The downside of an IDE, of course, is that you will not have the power of Vim at your hands anymore. If you are dealing with a large project, or need the benefit of type safety while programming, a full fledged IDE ( Eclipse, Visual Studio, WebStorm) is going to suit you much better than Vim will. If you're dealing with a simple API you can keep mostly in your head, non-code-introspection completion will probably be ok. For small projects you might be fine using one of the above solutions. My personal opinion is that the current state of the Vim autocompletion world is in bad shape. YouCompleteMe seems to be the leader of the pack, but I've never been able to get it to work properly with tag completion, and its code-introspection-completion has yet to prove powerful. It works about as well as Tern.įinally, Closetag or delimitMate or autoclose or a home-grown bananagram for auto closing of tags and parenthesis automatically on typing.Īlmost every plugin in this list will conflict with almost every other plugin in this list. YouCompleteMe, a fuzzy as-you-type completion that runs a server in the background, along with a home-grown function for snippet completion.Įclim - a noble attempt to run an Eclipse server in the background and tell Vim the autocompletions it introspects on the fly. However it is buggy, very slow, has memory leaks that will crash Vim, and possibly is abandonware. Tern for Vim, a promising library that does actual code introspection to get correct autocomplete. UltiSnips along with UltiSnips-Snippets which are different than the above snippets. SnipMate, a basic tag completion plugin, along with snippets, and figure out on your own how to add snippets, as it's a bit tricky. vimrc setup, and NeoSnippet for snippet completion.Ī monster combination of exuberant-ctags and DoctorJS (a Mozilla project that has been dead for a year), TagBar and a home-grown thingy to extract completion from the tag files. NeoComplCache which is keyword completion (how it's different from Vim's built in completion is not specified), a complex. SuperTab which lets you press Tab to trigger Vim's built in completion. You can :echo
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |