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

Feature request: customizable keys #61

Closed
com30n opened this issue Feb 13, 2019 · 12 comments
Closed

Feature request: customizable keys #61

com30n opened this issue Feb 13, 2019 · 12 comments
Labels
enhancement New feature or request

Comments

@com30n
Copy link

com30n commented Feb 13, 2019

Hello!

I use k9s a lot. And I have a mac with a touchbar (as you maybe know, touchbar is not the most user-friendly interface to enter some keys, like ) so, much more convenient in that case using 'q' as and (or just vim-like ":q") to the exit from k9s.

So my feature request is customizable main hot keys (or all keys): like I would like to swap and 'q'.

@derailed derailed added the enhancement New feature or request label Feb 14, 2019
@ghostsquad
Copy link

Also, ctrl-d means delete in some views, however that's a common combination for scrolling down. It would be great to make that less likely to occur.

@davinkevin
Copy link

Same for me, would like to remap the exit command to something else like :q.

@derailed
Copy link
Owner

@davinkevin FYI you can use :q to exit.

@ghostsquad
Copy link

VIM bindings????

@davinkevin
Copy link

@davinkevin FYI you can use :q to exit.

Yeap, but q only quit the whole app, instead I'm waiting this key allows me only to quit the current view but never to totally stop / quit the whole app.

I'm quiting the app multiple times a day just because I use q instead of escape

@com30n
Copy link
Author

com30n commented Apr 1, 2019

@derailed

@davinkevin FYI you can use :q to exit.

That's great, but I'd like to get out of k9s just by ':q'. How can I turn off exit by 'q'?

@derailed
Copy link
Owner

derailed commented Apr 2, 2019

@davinkevin, @com30n, @ghostsquad Tx for the clarification. I understand the frustration now. Sorry!
I'll add a key mapper soon so that you guys can pick your own poison. For the time being, I will remove the q binding so exiting out of K9s will only be via :q or ctrl-C. Would that help some?

@com30n
Copy link
Author

com30n commented Apr 2, 2019

@derailed Yes, sure, that would be awesome! Thx @derailed for your great product and for your support!

@davinkevin
Copy link

davinkevin commented Apr 2, 2019 via email

@derailed
Copy link
Owner

@davinkevin @com30n @ghostsquad - Added hotkey support in 0.10.1. Please see rel notes for 0.10.0 on how to enable. Thank you all for reporting back!! Closing for now...

@com30n
Copy link
Author

com30n commented Jan 1, 2020

@derailed Wow, man, thanks a lot!

@gennaro-tedesco
Copy link

Apologies for commenting on a closed thread: as per the release notes I am trying to set up hotkey, however for some actions I get a "command not found" exception. A specific example is escape, which (according to the ? manual) is defined to be "clear/back" but that seemingly doesn't correspond to any command.

Perhaps the documentation was updated meanwhile and the commands were renamed to something else?

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

No branches or pull requests

5 participants