Customize zellij termination hotkeys

This commit is contained in:
Ohad Livne 2025-06-04 22:46:48 +03:00
parent a93c73701e
commit 46f7a13058
Signed by: libohad-dev
GPG key ID: 34FDC68B51191A4D
2 changed files with 7 additions and 0 deletions

View file

@ -1,3 +1,7 @@
keybinds {
unbind "Ctrl b"
shared_except "locked" {
bind "Ctrl q" { Detach; }
bind "Ctrl Q" { Run "kill-current-zellij-session"; }
}
}

View file

@ -0,0 +1,3 @@
#! /usr/bin/sh
zellij delete-session --force "${ZELLIJ_SESSION_NAME}"