k9s icon indicating copy to clipboard operation
k9s copied to clipboard

Allow changing default keybindings

Open cycloss opened this issue 3 years ago • 7 comments

Is your feature request related to a problem? Please describe. I don't like being forced to use the default keybindings.

Describe the solution you'd like In hotkey.yml I'd like to be able to unbind default keybindings so I can rebind them. For example, I'd like to be able to change p to show pods, but I can't because it is by default set to show previous logs or something. I tried changing it to Shift-n but that seems to be reserved for sorting by name. I don't know where it even lists this as a keyboard shortcut. There are other shortcuts I'd like to rebind, but I hope you get the picture.

cycloss avatar Dec 20 '21 15:12 cycloss

I agree, I want to unbind the ctrl-d and ctrl-k commands.

nleconte-csgroup avatar Jan 03 '22 15:01 nleconte-csgroup

Is there any solution for this?

akhil-amagi avatar Mar 15 '23 10:03 akhil-amagi

It would be awesome if it was possible to remap the default keys. My current key-binding, jumping between panes and windows in tmux and vim, is Ctrl-[h,j,k,l]. This means that I sometimes act like a chaos monkey killing some random pods now and then.

merikan avatar May 16 '23 06:05 merikan

+1 The TUI is unusable when using non-hjkl keyboards layouts; The fact that k9s looks so awesome makes it a pain not to use it.

thibaud-lumapps avatar Aug 30 '23 15:08 thibaud-lumapps

+1 for this. Working in a tmux environment where CTRL-A is the default tmux prefix.

chris-metz avatar Apr 27 '24 08:04 chris-metz