chore(tmux): normalize config

This commit is contained in:
2026-03-10 00:46:06 +01:00
parent 31950b6ae3
commit 9b9b5b58a4

View File

@@ -2,7 +2,6 @@ set -g default-terminal "tmux-256color"
set -ga terminal-overrides ",xterm-ghostty:RGB,xterm-256color:RGB"
set -ga terminal-features ",xterm-ghostty:clipboard,xterm-256color:clipboard"
set -g allow-passthrough on
set -g set-clipboard on
set -s escape-time 0
@@ -10,7 +9,7 @@ set -s escape-time 0
set -g update-environment "SSH_AUTH_SOCK SSH_CONNECTION SSH_TTY DISPLAY"
unbind C-b
set-option -g prefix C-s
set -g prefix C-s
bind r source-file "$XDG_CONFIG_HOME/tmux/tmux.conf"
set -g base-index 1
@@ -21,7 +20,7 @@ set -g focus-events on
set -g status-style 'bg=default fg=default'
set -g status-left-length 20
set-window-option -g mode-keys vi
set -wg mode-keys vi
bind -T copy-mode-vi v send-keys -X begin-selection
@@ -33,16 +32,16 @@ bind h select-pane -L
bind l select-pane -R
# sessionizer
bind-key f run-shell "tmux neww ~/.config/tmux/tmux-sessionizer"
bind-key R run-shell "tmux neww ~/.config/tmux/tmux-sessionizer ~"
bind-key g run-shell "tmux neww ~/.config/tmux/tmux-sessionizer ~/.config"
bind-key T run-shell "tmux neww ~/.config/tmux/tmux-sessionizer ~/temp"
bind f run-shell "tmux neww ~/.config/tmux/tmux-sessionizer"
bind R run-shell "tmux neww ~/.config/tmux/tmux-sessionizer ~"
bind g run-shell "tmux neww ~/.config/tmux/tmux-sessionizer ~/.config"
bind T run-shell "tmux neww ~/.config/tmux/tmux-sessionizer ~/temp"
# clone
bind-key G run-shell "tmux neww ~/.config/tmux/tmux-ggclone"
bind G run-shell "tmux neww ~/.config/tmux/tmux-ggclone"
# ssh
bind-key F run-shell "tmux neww ~/.config/tmux/tmux-ssher"
bind F run-shell "tmux neww ~/.config/tmux/tmux-ssher"
# project
bind-key N run-shell "tmux neww ~/.config/tmux/tmux-new-project"
bind N run-shell "tmux neww ~/.config/tmux/tmux-new-project"