# Prefix unbind-key C-b set-option -g prefix C-a bind-key a send-prefix bind-key C-a last-window # Bindings bind-key '/' confirm-before "kill-window" bind-key '\' confirm-before "kill-server" bind-key '_' split-window -v bind-key '|' split-window -h bind-key Tab select-pane -t :.+ # Vim-like pane resize bind-key -r '+' resize-pane -U 5 bind-key -r '-' resize-pane -D 5 bind-key -r '<' resize-pane -L 5 bind-key -r '>' resize-pane -R 5 # Vim-like copy paste bind-key -t vi-copy 'v' begin-selection bind-key -t vi-copy 'y' copy-selection # Vim-like pane switching bind-key h select-pane -L bind-key j select-pane -D bind-key k select-pane -U bind-key l select-pane -R # Vim-like pane swapping bind-key J swap-pane -D bind-key K swap-pane -U # Activity set-window-option -g monitor-activity on set-window-option -g window-status-activity-attr none set-window-option -g window-status-activity-bg colour237 set-window-option -g window-status-activity-fg colour248 # Indices set-option -g base-index 1 # Messages set-option -g message-bg colour18 set-option -g message-fg colour231 # Modes set-window-option -g mode-keys vi set-window-option -g mode-bg colour18 set-window-option -g mode-fg colour231 # Pane borders set-option -g pane-active-border-bg colour237 set-option -g pane-active-border-fg colour237 set-option -g pane-border-bg colour237 set-option -g pane-border-fg colour237 # Status bar set-option -g status-bg colour237 set-option -g status-fg colour248 set-option -g status-left '[#S]' set-option -g status-right '[#H] #(date +"%F %T")' set-window-option -g window-status-current-format "#[fg=colour231]#I:#W#F" set-window-option -g window-status-format "#[fg=colour16]#I:#W#F" # Terminal set-option -g default-terminal "screen-256color" set-option -g terminal-overrides 'xterm*:smcup@:rmcup@' set-option -s escape-time 0 # Titles set-window-option -g automatic-rename off