33 lines
859 B
Bash
33 lines
859 B
Bash
# 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
|
|
|
|
# toggle tmux theme
|
|
bind T run-shell ~/.local/bin/tmux-toggle.sh
|
|
|
|
set-option -ga terminal-overrides ",wezterm:Tc"
|
|
set-option -g default-shell /bin/bash
|
|
|
|
# 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
|