Open cycloss opened 2 years ago
I agree, I want to unbind the ctrl-d and ctrl-k commands.
Is there any solution for this?
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.
+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.
+1 for this. Working in a tmux environment where CTRL-A is the default tmux prefix.
+1
Vim keybindings as a first-class citizen, but ctrl-d deletes a pod? Kinda arguable. Ctrl+k kills a pod without confirmation? Interesting approach 😕 Almost like saying "Please don't use k9s in production"
Also, I'm using Ctrl+space to switch keyboard layouts, making range selection unavailable to me.
So, it would be nice to remap the default shortcuts.
After the incident caused by this, I started running k9s in readonly mode by default which removes most of the potential for further footguns.
Of course sometimes I need to do something that requires write access so it becomes possible again during that window.
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 changep
to show pods, but I can't because it is by default set to show previous logs or something. I tried changing it toShift-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.