Customize zellij termination hotkeys
This commit is contained in:
parent
a93c73701e
commit
46f7a13058
2 changed files with 7 additions and 0 deletions
|
|
@ -1,3 +1,7 @@
|
||||||
keybinds {
|
keybinds {
|
||||||
unbind "Ctrl b"
|
unbind "Ctrl b"
|
||||||
|
shared_except "locked" {
|
||||||
|
bind "Ctrl q" { Detach; }
|
||||||
|
bind "Ctrl Q" { Run "kill-current-zellij-session"; }
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
3
.local/bin/kill-current-zellij-session
Executable file
3
.local/bin/kill-current-zellij-session
Executable file
|
|
@ -0,0 +1,3 @@
|
||||||
|
#! /usr/bin/sh
|
||||||
|
|
||||||
|
zellij delete-session --force "${ZELLIJ_SESSION_NAME}"
|
||||||
Loading…
Add table
Add a link
Reference in a new issue