From ccde29aa5779e9ce27ff2e833e3bba9c737df74d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergio=20La=C3=ADn?= Date: Mon, 5 Aug 2024 13:59:28 +0200 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20feat(tmux):=20add=20keybinding=20to?= =?UTF-8?q?=20close=20a=20session?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .config/tmux/conf/binds.conf | 3 +++ .config/tmux/conf/plugins.conf | 1 - 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.config/tmux/conf/binds.conf b/.config/tmux/conf/binds.conf index 18908325..09faf4ba 100644 --- a/.config/tmux/conf/binds.conf +++ b/.config/tmux/conf/binds.conf @@ -36,6 +36,9 @@ bind-key Q confirm-before kill-window # Close a pane bind-key q confirm-before kill-pane +# Close a session +bind-key M-q confirm-before kill-session + # Swap windows bind -r "<" swap-window -d -t -1 bind -r ">" swap-window -d -t +1 diff --git a/.config/tmux/conf/plugins.conf b/.config/tmux/conf/plugins.conf index 7f5b1016..303d407d 100644 --- a/.config/tmux/conf/plugins.conf +++ b/.config/tmux/conf/plugins.conf @@ -29,7 +29,6 @@ set -g @catppuccin_status_connect_separator "yes" # Sessionx set -g @sessionx-bind 'space' set -g @sessionx-filter-current 'false' -set -g @sessionx-window-mode 'on' set -g @sessionx-preview-location 'top' set -g @sessionx-preview-ratio '65%' set -g @sessionx-window-height '95%'