diff options
Diffstat (limited to 'vim-keybindings-x-for-kill.patch')
-rw-r--r-- | vim-keybindings-x-for-kill.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/vim-keybindings-x-for-kill.patch b/vim-keybindings-x-for-kill.patch new file mode 100644 index 000000000000..36dcda10d466 --- /dev/null +++ b/vim-keybindings-x-for-kill.patch @@ -0,0 +1,20 @@ +--- a/Action.c ++++ b/Action.c +@@ -403,7 +403,7 @@ static struct { const char* key; const char* info; } helpRight[] = { + { .key = " Space: ", .info = "tag process" }, + { .key = " c: ", .info = "tag process and its children" }, + { .key = " U: ", .info = "untag all processes" }, +- { .key = " F9 k: ", .info = "kill process/tagged processes" }, ++ { .key = " F9 x: ", .info = "kill process/tagged processes" }, + { .key = " F7 ]: ", .info = "higher priority (root only)" }, + { .key = " F8 [: ", .info = "lower priority (+ nice)" }, + #if (HAVE_LIBHWLOC || HAVE_LINUX_AFFINITY) +@@ -551,7 +552,7 @@ void Action_setBindings(Htop_Action* keys) { + keys['q'] = actionQuit; + keys['a'] = actionSetAffinity; + keys[KEY_F(9)] = actionKill; +- keys['k'] = actionKill; ++ keys['x'] = actionKill; + keys[KEY_RECLICK] = actionExpandOrCollapse; + keys['+'] = actionExpandOrCollapse; + keys['='] = actionExpandOrCollapse; |