# use vim copy/paste keybindings set-option -g mode-keys vi # vim style pane switching bind h select-pane -L bind j select-pane -D bind k select-pane -U bind l select-pane -R bind-key -T copy-mode-vi v send-keys -X begin-selection bind-key -T copy-mode-vi y send-keys -X copy-selection # toggle tmux theme bind T run-shell ~/.local/bin/tmux-toggle.sh set-option -g default-shell /bin/bash set-option -g default-terminal 'tmux-256color' set-option -sa terminal-features ',wezterm:RGB' set-option -ga terminal-features ',wezterm:usstyle' # undercurl support set-option -ga terminal-features ',wezterm:strikethrough' # enable OSC 52 clipboard synchronization set -g set-clipboard on # see https://github.com/neovim/neovim/issues/2035 set-option -sg escape-time 10 # in milliseconds # scrollback history set-option -g history-limit 10000 # status bar design set-option -g status-position top set-option -g status-left '' set-option -g status-right ' [#{session_name}] #{host_short} ' # current status set-option -g window-status-current-format ' #{window_index} #{window_name} ' # background status set-option -g window-status-format ' #{window_index} #{window_name} ' source-file ~/.config/tmux/light.conf