aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2020-12-27 08:40:15 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2020-12-27 08:40:15 +0300
commit987c0caabd84e05749b1962c5e0652bc5eff12d9 (patch)
tree44b33205791a156efe9c55bfd41f86e43441784d
parenttmux: don't monitor activity (diff)
downloadlinux-home-987c0caabd84e05749b1962c5e0652bc5eff12d9.tar.gz
linux-home-987c0caabd84e05749b1962c5e0652bc5eff12d9.zip
tmux: add a shortcut to kill session
Diffstat (limited to '')
-rw-r--r--%HOME%/.tmux.conf3
1 files changed, 3 insertions, 0 deletions
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!"