Delay showing popup buffer
Nobody has claimed this yet.
- Dominant language
- Lua
- Stars
- 5.6k
- Forks
- 357
- Avg merge
- 15h 47m
- Merged PRs (30d)
- 2
Description
Is your feature request related to a problem? Please describe.
For common operations, the user knows the keys to press for a popup and action to be invoked by heart, for example pulling, pushing etc.
Describe the solution you'd like
As such it would be useful if the popup buffer did not show in such cases, and only shows after a small delay, to avoid the small stutter where the buffer opens and closes quickly.
Additional context
I do recall this being the case prior, as the popup didn't immediately show if I pressed my keys in quick succession, like which-key does, though I could not get that behavior by checking out older commits, so it may just have been something from my config.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing the popup buffer's key-handling entry point and compare its immediate-open behavior with the delayed behavior described for which-key. Determine how a short key sequence can complete without displaying the popup. Done means rapid, known key sequences avoid the visible stutter while slower or incomplete sequences still show the popup.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- git, lua
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100