From 987c0caabd84e05749b1962c5e0652bc5eff12d9 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sun, 27 Dec 2020 08:40:15 +0300 Subject: tmux: add a shortcut to kill session --- %HOME%/.tmux.conf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/%HOME%/.tmux.conf b/%HOME%/.tmux.conf index 6b67ee1..af2d9bc 100644 --- a/%HOME%/.tmux.conf +++ b/%HOME%/.tmux.conf @@ -51,6 +51,9 @@ set-window-option -g aggressive-resize on # Key bindings # ------------ +# X to kill the current session. +bind X confirm-before kill-session + # R to reload this file. bind R source-file ~/.tmux.conf \; display "Reloaded!" -- cgit v1.2.3