diff options
| author | Grace Yoder <grace_yoder@outlook.com> | 2026-03-23 19:24:20 -0400 |
|---|---|---|
| committer | Grace Yoder <grace_yoder@outlook.com> | 2026-03-23 19:24:20 -0400 |
| commit | a2dd719d64a64504186f4173638f7c043030710a (patch) | |
| tree | 4589cbbaa8306c7847ea8865cfe78c152f651a82 /tmux | |
| parent | 70a1581228f838b03545a4295aa6adf67b67c2a8 (diff) | |
misc: changes to ghostty and passthrough
Diffstat (limited to 'tmux')
| -rw-r--r-- | tmux/.tmux.conf | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/tmux/.tmux.conf b/tmux/.tmux.conf index a6abfa8..72a4f9b 100644 --- a/tmux/.tmux.conf +++ b/tmux/.tmux.conf @@ -2,8 +2,11 @@ set-environment -g TMUX_POWERLINE_THEME bubble # Options set -g mouse on -set -g default-terminal "screen-256color" -set-option -sa terminal-overrides ',xterm-256color:Tc,xterm-*:allow-passthrough' +# set -g default-terminal "screen-256color" +set -g default-terminal "xterm-ghostty" +# set-option -sa terminal-overrides ',xterm-256color:Tc,xterm-*:allow-passthrough' +set -ga terminal-overrides ",xterm-ghostty:Tc" + set-window-option -g mode-keys vi set -g status-position top set-option -g set-clipboard on @@ -13,6 +16,11 @@ set -g base-index 1 setw -g pane-base-index 1 +set -g allow-passthrough all +set -as terminal-features ",xterm-ghostty:hyperlinks" + + + # Keybinds set-option -g prefix C-\\ unbind C-b @@ -51,6 +59,11 @@ bind-key "T" run-shell "sesh connect \"$( --preview 'sesh preview {}' )\"" +bind-key -T copy-mode-vi [ send-keys -X previous-prompt +bind-key -T copy-mode-vi M-[ send-keys -X previous-prompt -o +bind-key -T copy-mode-vi ] send-keys -X next-prompt +bind-key -T copy-mode-vi M-] send-keys -X next-prompt -o + # Plugins set -g @plugin 'tmux-plugins/tpm' set -g @plugin 'tmux-plugins/tmux-sensible' |
