36 lines
1,021 B
Bash
36 lines
1,021 B
Bash
# use vim copy/paste keybindings
|
|
setw -g mode-keys vi
|
|
|
|
set -ga terminal-overrides ",wezterm:Tc"
|
|
set -g default-shell /bin/bash
|
|
|
|
# see https://github.com/neovim/neovim/issues/2035
|
|
set -sg escape-time 10 # in milliseconds
|
|
|
|
# vim style pane switching
|
|
bind h select-pane -L
|
|
bind j select-pane -D
|
|
bind k select-pane -U
|
|
bind l select-pane -R
|
|
|
|
# status bar design
|
|
set -g status-position top
|
|
set -g status-left-length 60
|
|
set -g status-style fg=#000000,bg=#eff0f1
|
|
set -g status-right ' #[fg=#fffffff,bg=#3daee9] #(hostname) #[fg=#ffffff,bg=#3daee9] %d/%m #[fg=#ffffff,bg=#3daee9] %H:%M:%S '
|
|
|
|
# current session name
|
|
set-window-option -g status-left '#[fg=#ffffff,bg=#3daee9] #S '
|
|
|
|
# current window
|
|
set -g window-status-current-style fg=#ffffff,bg=#3daee9
|
|
set -g window-status-current-format ' #I#[fg=#ffffff] #[fg=#fffff]#W '
|
|
|
|
# background windows
|
|
set -g window-status-style fg=#000000,bg=#eff0f1
|
|
set -g window-status-format ' #I#[fg=#000000] #[fg=#000000]#W '
|
|
|
|
# scrollback history
|
|
set -g history-limit 10000
|
|
|
|
set -g mouse on
|