Are there any advanced (e.g. bigram) autocomplete plugins for Vim?

In my specific cases, Vim autocomplete is often not so smart. Is there a way to switch to, for example, a bigram model (which predicts based on the previous word) or is something even better? Would it be difficult to write this myself (assuming I know how to write / use the n-gram histogram in an external program)?

+4
source share
1 answer

As far as I know, the most powerful autocomplete plugin for vim is neocomplcache: https://github.com/Shougo/neocomplcache .

It has many configuration options and is easy to expand. It has a word, fragment, file name, case, and omni (syntax). This is the most final solution I have found in vim, even if I know that I need to know more about this in order to use it more efficiently.

+2
source

Source: https://habr.com/ru/post/1398510/


All Articles