aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/%HOME%
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2022-02-25 18:24:46 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2022-02-25 23:25:44 +0300
commit7fa3f2d7cce6ec146cc813df71373c5723a69572 (patch)
treefcf53afafa044a7145457acaaf6adf810823f37e /%HOME%
parent.gitconfig: alias.s = status (diff)
downloadlinux-home-7fa3f2d7cce6ec146cc813df71373c5723a69572.tar.gz
linux-home-7fa3f2d7cce6ec146cc813df71373c5723a69572.zip
tmux: add a shortcut for `kill-session -a`
Diffstat (limited to '')
-rw-r--r--%HOME%/.tmux.conf2
1 files changed, 2 insertions, 0 deletions
diff --git a/%HOME%/.tmux.conf b/%HOME%/.tmux.conf
index af2d9bc..d9d05d4 100644
--- a/%HOME%/.tmux.conf
+++ b/%HOME%/.tmux.conf
@@ -53,6 +53,8 @@ set-window-option -g aggressive-resize on
# X to kill the current session.
bind X confirm-before kill-session
+# A to kill all but the current session.
+bind A confirm-before 'kill-session -a'
# R to reload this file.
bind R source-file ~/.tmux.conf \; display "Reloaded!"