-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
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
Ctrl + u
for discarding line in Picker
?
#6508
Comments
Ah, I see. Ctrl + u/d is for Page Up/Down in the list as added in #1612. After more research, I've found that Ctrl + u is commonly called "unix-line-discard". Now my main question is why shouldn't this common (arguably canonical) shortcut not be used in |
C-u
for clearing query in file picker/global search?Ctrl + u
for discarding line in Picker
?
Duplicate of #1593 |
This is different then that issue it happens because the picker and the prompt have a conflicting key in common so |
I see, you are right |
+1. Unix-line-discard is much more useful than page up/page down in picker. If you need to scroll pages in picker, then you are likely using it wrong, and your fuzzy-matching text should be more specific. Unix-line-discard works in all other helix text-entry modes, so it is quite unintuitive that it does not work in picker. Even once we gain the ability to remap keys in picker, I feel strongly that unix-line-discard should be the default for Ctrl-u in picker |
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
Ctrl + u is a common keyboard shortcut for clearing the current input throughout shell environments and command lines. Helix uses Ctrl + u to clear the input for
:
commands, could it be added to the symbol viewer/global search/file picker/LSP references?I keep reaching for the keyboard shortcut when I want to reset my query, instead I have to hold the backspace key. Does this sound like something that should be added? If it seems like a feature that would be added I can try to make a PR.
The text was updated successfully, but these errors were encountered: