diff --git a/tmux/tmux.conf b/tmux/tmux.conf index 91130ae..424e363 100644 --- a/tmux/tmux.conf +++ b/tmux/tmux.conf @@ -2,6 +2,11 @@ set-option -g default-terminal "tmux-256color" set-option -sa terminal-overrides ",xterm*:RGB" +# options needed for yazi imagepreview (https://yazi-rs.github.io/docs/image-preview/#tmux) +set -g allow-passthrough on +set -ga update-environment TERM +set -ga update-environment TERM_PROGRAM + # re-map the tmux prefix key to ctrl+a set -g prefix C-a unbind C-b