From 7fa3f2d7cce6ec146cc813df71373c5723a69572 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Fri, 25 Feb 2022 18:24:46 +0300 Subject: tmux: add a shortcut for `kill-session -a` --- %HOME%/.tmux.conf | 2 ++ 1 file changed, 2 insertions(+) (limited to '%HOME%') 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!" -- cgit v1.2.3