38 lines
1 KiB
Bash
38 lines
1 KiB
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
|
|
|
|
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
|
|
|
|
# TODO: move these to a theme file
|
|
set-option -g status-style fg=#000000,bg=#eff0f1
|
|
|
|
set-option -g status-left ''
|
|
set-option -g status-right ' [#{session_name}] #{host_short} '
|
|
|
|
# current status
|
|
set-option -g window-status-current-style bg=#dddfe1
|
|
set-option -g window-status-current-format ' #{window_index} #{window_name} '
|
|
|
|
# background status
|
|
set-option -g window-status-style bg=#eff0f1
|
|
set-option -g window-status-format ' #{window_index} #{window_name} '
|
|
|
|
# window styling
|
|
# set-option -g window-style 'fg=colour247,bg=colour236'
|
|
# set-option -g window-active-style 'fg=default,bg=colour234'
|