Is it possible to insert completions without opening the pop-up menu?
Closed this issue · 1 comments
Apologies if I've missed some documentation somewhere. I've spent a bit of time combing through issues with every search term I could think of and didn't turn anything up.
The behavior I'm after is to:
- Have a relatively long delay (let's say 1s) by default for the popup to show
- But when
<Tab>
is pressed, immediately
a. Insert the completion when only a single completion is available (with no popup shown)
b. Insert the common substring across all completions and show the completion popup when multiple completions are available
In the README
, there is a key mapping listed for mapping <Tab>
to show the popup, but it would be nice if it was extended to also insert a completion or substring of the completions. As well, if a long pop-up delay is set, the mapping in the README
still waits for the duration of the delay before showing the popup, meaning that it's only really all that useful when auto-popup is disabled and the delay is 0.
Lines 44 to 60 in 2107094
I don't mind doing some customization to get this configured to my liking, but I'm having trouble getting started. I couldn't find a way to access and insert completions without opening the popup menu. Any pointers for functions that I should consider, or limitations that I would have to work around would be much appreciated.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.