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

Key for clearing the line in Helm / eshell / elsewhere #4494

Closed
luxbock opened this issue Jan 8, 2016 · 1 comment
Closed

Key for clearing the line in Helm / eshell / elsewhere #4494

luxbock opened this issue Jan 8, 2016 · 1 comment
Labels
Discussion Helm Key Bindings stale marked as a stale issue/pr (usually by a bot)

Comments

@luxbock
Copy link

luxbock commented Jan 8, 2016

The Emacs idiom for clearing the input line in modes such as Helm is simply to do C-a C-k, but Spacemacs overrides C-k for navigating down. As far as I know there is currently no key for clearing up the input line in Helm, which is surprising given how often I use this feature. This same issue is present in eshell, where C-k again navigates the input history.

I think it would make sense that for users of dotspacemacs-editing-style there would be a standard key-binding for clearing out the input line (and not saving it to kill-ring), but I'm not sure what key should be used for this operation. Helm's keymap is quite packed, so I think we should consider the keys that are still available there and apply it consistently elsewhere as well.

My suggestion would be C-;, as I don't think it's used for anything else right now. You can check what keys are already bound by doing SPC h d K RET helm-map.

@github-actions
Copy link

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Please let us know if this issue is still valid!

@github-actions github-actions bot added the stale marked as a stale issue/pr (usually by a bot) label Feb 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Discussion Helm Key Bindings stale marked as a stale issue/pr (usually by a bot)
Projects
None yet
Development

No branches or pull requests

2 participants