summaryrefslogtreecommitdiff
path: root/.config/tmux/tmux.conf
diff options
context:
space:
mode:
authorKyren223 <Kyren223@proton.me>2024-11-28 15:53:20 +0200
committerKyren223 <Kyren223@proton.me>2024-11-28 15:53:20 +0200
commit0fd116d7a0e50dda2c226fe243307d37810a3e00 (patch)
treecd03b2699d50aac3d205093065efd1084de4c241 /.config/tmux/tmux.conf
parentd709d2de54f5be174bebde60a10e0e3fc7b58b44 (diff)
Made changes to the home session
Diffstat (limited to '.config/tmux/tmux.conf')
-rw-r--r--.config/tmux/tmux.conf4
1 files changed, 4 insertions, 0 deletions
diff --git a/.config/tmux/tmux.conf b/.config/tmux/tmux.conf
index 1e79ec4..97044fa 100644
--- a/.config/tmux/tmux.conf
+++ b/.config/tmux/tmux.conf
@@ -21,6 +21,10 @@ bind-key -T copy-mode-vi v send-keys -X begin-selection
bind-key -T copy-mode-vi C-v send-keys -X rectangle-toggle
bind-key -T copy-mode-vi y send-keys -X copy-selection-and-cancel
+# Avoid leaking sensitive windows due to preview by adding the N flag
+bind-key s choose-tree -ZsN
+bind-key w choose-tree -ZwN
+
set -g mouse on
bind-key r source-file ~/.tmux.conf