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

Make overriding default keys possible #1736

Open
jonasbadstuebner opened this issue Aug 31, 2022 · 4 comments · May be fixed by #1740
Open

Make overriding default keys possible #1736

jonasbadstuebner opened this issue Aug 31, 2022 · 4 comments · May be fixed by #1740
Labels
enhancement New feature or request

Comments

@jonasbadstuebner
Copy link

Is your feature request related to a problem? Please describe.
Not a problem, but a hand movement that is just "too much" for me. Pressing ESC to get back.

Describe the solution you'd like
I would love to have the ESC-key be replacable so I can map Q to "go back".

Describe alternatives you've considered
Looked into the code - maybe I will open a PR for that?

Additional context
Maybe have it as config in the default config?

@derailed derailed added the enhancement New feature or request label Sep 21, 2022
@jonasbadstuebner
Copy link
Author

@derailed I would like to know what your idea would be, about what key bindings could be overridden and what couldn't.
You suggested a keymap.yml like

# keymap.yml
k9s:
  global:
    escape: q

and we could document a keymap_path for the default keybindings, if they can be overridden.

@jonasbadstuebner
Copy link
Author

But I am also not sure if there are use cases for this feature? Could we collect the issues that reference this problem here?

@jonasbadstuebner
Copy link
Author

Another ping, since I would really like to get a feature like this upstream soon. I am used to my keybinding with Q now and I think more people would like to override some keys.

@carlfriedrich
Copy link

I would love this for the exact same use-case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants