k9s icon indicating copy to clipboard operation
k9s copied to clipboard

Ability to remap Kill command

Open ls-brentsmith opened this issue 3 years ago • 4 comments




Is your feature request related to a problem? Please describe. Many of my colleagues are heavy Vim users and are accustomed to using ctrl+h, ctrl-j, ctrl-k and ctrl-l to navigate lists of choices when text input is present. This is very problematic when navigating through the lists of pods in k9s, as ctrl+k is mapped to 'kill' which deletes a pod with no prompt.

Describe the solution you'd like We would like it if we could remap built in functions in a similar fashion to hotkeys https://k9scli.io/topics/hotkeys/

Alternatively, we would like a way to disable kill entirely via configuration.

Describe alternatives you've considered We've also experimented with running k9s in readonly mode, which solves the issue, however we'd prefer that there was a good way to elevate permissions from from readonly to write without closing and restarting k9s.

We've considered opening that as a feature request as well.

Additional context Add any other context or screenshots about the feature request here.

ls-brentsmith avatar Nov 19 '21 19:11 ls-brentsmith