aboutsummaryrefslogtreecommitdiff
path: root/tmux
diff options
context:
space:
mode:
Diffstat (limited to 'tmux')
-rw-r--r--tmux/.tmux.conf6
1 files changed, 6 insertions, 0 deletions
diff --git a/tmux/.tmux.conf b/tmux/.tmux.conf
index 4f9097c..d58ef3d 100644
--- a/tmux/.tmux.conf
+++ b/tmux/.tmux.conf
@@ -43,9 +43,15 @@ setw -g aggressive-resize on
# don't detach tmux when killing a session
set -g detach-on-destroy off
+# required by yazi for image preview
+set -g allow-passthrough on
+set -ga update-environment TERM
+set -ga update-environment TERM_PROGRAM
+
# address vim mode switching delay (http://superuser.com/a/252717/65504)
set -s escape-time 0
+
set -as terminal-features ",*:RGB"
# set -g default-terminal "tmux-256color"
set -ag terminal-overrides ",xterm-256color:RGB"