Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Delay search until keyboard input has stopped #8134

Open
Earnestly opened this issue Mar 18, 2024 · 0 comments
Open

Delay search until keyboard input has stopped #8134

Earnestly opened this issue Mar 18, 2024 · 0 comments
Labels
component: keyinput Issues related to processing keypresses. component: performance Issues with performance/benchmarking. priority: 2 - low Issues which are currently not very important.

Comments

@Earnestly
Copy link

Earnestly commented Mar 18, 2024

When searching for a string within a large body of text using the / command it can cause be significant slow down as the search is triggered immediately on each character input, especially if the first character is something like /e....

Instead the search command could detect a short delay after each input and only consider it complete if it reaches a (configurable?) threshold. With this change I could then type, for example, /expect and only have the search trigger once the word is complete, provided I type it fast enough.

@The-Compiler The-Compiler added component: performance Issues with performance/benchmarking. component: keyinput Issues related to processing keypresses. priority: 2 - low Issues which are currently not very important. labels Mar 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: keyinput Issues related to processing keypresses. component: performance Issues with performance/benchmarking. priority: 2 - low Issues which are currently not very important.
Projects
None yet
Development

No branches or pull requests

2 participants