mirror of
https://github.com/d0zingcat/dotfiles.git
synced 2026-05-13 15:09:34 +00:00
@@ -15,6 +15,8 @@ set -g base-index 1
|
||||
setw -g pane-base-index 1
|
||||
# enable mouse
|
||||
set -g mouse on
|
||||
# allow passthrough for yazi image preview and other tools that need terminal queries
|
||||
set -g allow-passthrough off
|
||||
# set history limit
|
||||
set -g history-limit 10000
|
||||
# reload config
|
||||
@@ -83,8 +85,8 @@ set -g @plugin 'tmux-plugins/tpm'
|
||||
# set -g @continuum-save-interval '30'
|
||||
|
||||
# Colors
|
||||
set -g default-terminal "screen-256color"
|
||||
set -g terminal-overrides ',xterm-256color:Tc'
|
||||
set -g default-terminal "tmux-256color"
|
||||
set -g terminal-overrides ',xterm-ghostty:Tc,xterm-256color:Tc'
|
||||
|
||||
# Dracula Color
|
||||
white='#f8f8f2' # Foreground
|
||||
|
||||
4
.zshrc
4
.zshrc
@@ -364,6 +364,9 @@ function dev() {
|
||||
local bl
|
||||
bl=$(tmux split-window -t "$left" -v -c "$cwd" -P -F "#{pane_id}")
|
||||
|
||||
# Only enable passthrough for yazi pane (image display); keep it off elsewhere
|
||||
# to prevent Ghostty DA/XTVERSION responses leaking into other panes' stdin.
|
||||
# tmux set-option -p -t "$tr" allow-passthrough on
|
||||
tmux send-keys -t "$left" "$tool" Enter
|
||||
tmux send-keys -t "$tr" "yazi" Enter
|
||||
tmux send-keys -t "$br" "lazygit" Enter
|
||||
@@ -374,6 +377,7 @@ function dev() {
|
||||
local br
|
||||
br=$(tmux split-window -t "$tr" -v -c "$cwd" -P -F "#{pane_id}")
|
||||
|
||||
# tmux set-option -p -t "$tr" allow-passthrough on
|
||||
tmux send-keys -t "$left" "$tool" Enter
|
||||
tmux send-keys -t "$tr" "yazi" Enter
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user