Created
August 14, 2026 05:52
-
-
Save btakita/127d3930777a9b94fbfa57b835e15036 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| set -g history-limit 50000 | |
| # agent-doc: reduce flicker during pane operations and high-throughput output | |
| set -sg escape-time 10 # fast escape (default 500ms causes lag) | |
| set -g focus-events on # consistent redraw on focus change | |
| set -ga terminal-overrides ",xterm-256color:Tc" # true color support, fewer escape redraws | |
| #### Custom #### | |
| # Split panes | |
| bind | split-window -h -c "#{pane_current_path}" | |
| bind _ split-window -v -c "#{pane_current_path}" | |
| bind + resize-pane -Z | |
| yank="~/.tmux/yank.sh" | |
| bind -T copy-mode-vi Enter send-keys -X copy-pipe-and-cancel "$yank" | |
| bind -T copy-mode-vi Y send-keys -X copy-line \;\ | |
| run "tmux save-buffer - | $yank" | |
| bind-key -T copy-mode-vi D send-keys -X copy-end-of-line \;\ | |
| run "tmux save-buffer - | $yank" | |
| bind -T copy-mode-vi C-j send-keys -X copy-pipe-and-cancel "$yank" | |
| bind-key -T copy-mode-vi A send-keys -X append-selection-and-cancel \;\ | |
| run "tmux save-buffer - | $yank" | |
| bind -T copy-mode-vi MouseDragEnd1Pane \ | |
| send-keys -X copy-pipe "$yank" | |
| bind -T copy-mode-vi MouseDown1Pane select-pane \;\ | |
| send-keys -X clear-selection | |
| bind -T copy-mode-vi v send -X begin-selection | |
| bind -T copy-mode-vi y send-keys -X copy-pipe "xsel --clipboard --input" | |
| bind P paste-buffer | |
| bind -T copy-mode-vi MouseDragEnd1Pane send-keys -X copy-pipe-and-cancel "xsel --clipboard --input" | |
| set -g @logging-path "~/logs" | |
| set -g @plugin 'tmux-plugins/tpm' | |
| set -g @plugin 'tmux-plugins/tmux-sensible' | |
| set -g @plugin 'tmux-plugins/tmux-copycat' | |
| set -g @plugin 'tmux-plugins/tmux-yank' | |
| set -g @plugin 'tmux-plugins/tmux-logging' | |
| # Toggle logging with Prefix + Shift + P | |
| bind P pipe-pane -o 'cat >> ~/logs/tmux-#W-#I-#P.log' \; display 'Started logging to ~/logs/tmux-#W-#I-#P.log' | |
| bind p pipe-pane \; display 'Ended logging' | |
| setw -g mode-keys vi | |
| run '/usr/share/tmux-plugin-manager/tpm' | |
| # agent-doc turn-status monitor: show pane border titles so the hook-driven | |
| # "turn in progress" status is visible (#claude-busy-status-during-active-turn) | |
| set -g pane-border-status top |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment