Ctrl + u
for discarding line in Picker
?
#10429
Replies: 5 comments 1 reply
-
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 |
Beta Was this translation helpful? Give feedback.
-
Duplicate of #1593 |
Beta Was this translation helpful? Give feedback.
-
This is different then that issue it happens because the picker and the prompt have a conflicting key in common so |
Beta Was this translation helpful? Give feedback.
-
I see, you are right |
Beta Was this translation helpful? Give feedback.
-
+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 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
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.
Beta Was this translation helpful? Give feedback.
All reactions