-
Notifications
You must be signed in to change notification settings - Fork 283
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
Handle (white)space in command mode autocompletion #434
Comments
|
I thought almost this when I said "The command mode's state machine should delete the currently selected completition entry when a discard transition occours." I thought about implementing this, as this seemed a possibly good first issue but: I do not know Reason. |
…ce (#2005) * Refactor command line completion to testable unit * Initial test cases * Formatting * Tweak completion timing for more vim-wildmenu-like behavior * Formatting
Issues 1) and 2) called out at the root issue should be fixed with #2005 However, the escaping didn't seem necessary in my testing - let me know if you have case that is failing w/ the latest that I can try. |
On first skimming, it seems fine! |
Great news! Thank you @Samonitari |
Unfortunately there is still a quirk. |
I just checked this after reporting #3751, and this has been fixed since some time ago. (issue-for-an-issue as the old Babylonian saying goes 😆 ) |
Autocompletition in command mode doesn't handle etries with spaces correctly.
When dropping a filesystem based suggestion (in favour of another one: ie, choosing another) for command (

e
,chdir
) parameters, only the last word (or Word?) gets deleted.The command mode's state machine should delete the currently selected completition entry when a discard transition occours.
When selecting an entry with spaces, it doesn't get escaped (like it did in Oni), and argument will be invalid for the command - for example chdir fails to folders with spaces in them (on Windows at least)
The text was updated successfully, but these errors were encountered: