Vim command mode autocompletion selection state is sticky between typing bursts #3751
Labels
A-quickmenu
Area: Quickmenu-related, i.e. QuickOpen, WIldmenu, Command Palette menus
bug
Something isn't working
I report a vim command mode autocompletion issue again 💌
Issue title says it mostly. Selecting an autocompletion suggestion causes some misbehaviour - I think.
User can't consistently select the first suggestion with one key!
Here are two real life scenarios that have confusingly - or dare I say frustratingly - different results:
Scenario 1:
:chdir ~/Do
-> suggestions kick in, with the current user's "Documents" as the first option (assuming English OS setup)no suggestion is selected now
Tab
orDown
-> command gets completed with the first suggestionScenario 2:
:chd
Tab
orDown
-> autocompletion filled to "chdir" command~/Do
-> suggestions kick in, with first suggestion selectedTab
orDown
-> command gets completed with the second suggestionScenario 2 can be reproduces by multiple 'tabbing' in only the path also - you don't need the first tab in the command of course.
Thanks to @CrossR for the help in Discord, he found the offending lines here
The text was updated successfully, but these errors were encountered: