1. Takeshi NISHIDA
  2. vim-autocomplpop
Issue #39 new

Have a small delay before showing the menu

Bo Jeanes
created an issue

I'm not sure if this can be implemented (I'm thinking an autocmd tied to CursorHoldI event).

Currently, it autocompletes things like do or end which are usually the last thing in the line. That means every time I press <enter> to go to the next line, it instead selects the entry I've already typed requiring me to press <enter> again.

Adding a small delay (200-500ms) would mean that if I was typing short things quickly, there would be no interference, but when longer words are being typed, coders will usually pause to think about spelling or variable names. This is the perfect time for the autocomplete menu to pop up!

Comments (0)

  1. Log in to comment