Skip to content

Commit

Permalink
Add tmux options to fix yazi image preview
Browse files Browse the repository at this point in the history
  • Loading branch information
Mo0rBy committed Aug 26, 2024
1 parent 3cad49b commit 8ebd771
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tmux/tmux.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8ebd771

Please sign in to comment.