4

Auto-complete window can be pop-ed up when I use <C-N>, could I set it to pop up automatically when input keyword exceeds some length (3 characters)? YCM can do this but I don't want to install it. Does the default completion support this?

10

Automatic completion suggestions aren't built into Vim; plugins (like YouCompleteMe) implement this via :autocmd CursorMovedI triggers.

Another plugin is AutoComplPop; it purely implements the automatic suggestions. Unlike YCM, it doesn't offer additional completions or any other extensions, so that may be a good alternative to try if you don't want to install YCM.

4

There is another nice plugin called mucomplete (https://github.com/lifepillar/vim-mucomplete) that shows automatically a popup with completion suggestions.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.