24 lines
526 B
Bash
24 lines
526 B
Bash
# terminal
|
|
set -g default-terminal "screen-256color"
|
|
set -ga terminal-overrides ",alacritty:Tc"
|
|
set -ga terminal-overrides ",xterm-256color:Tc"
|
|
set -sg escape-time 10
|
|
|
|
# vi mode
|
|
set-window-option -g mode-keys vi
|
|
|
|
# remap prefix from 'C-b' to 'C-a'
|
|
unbind C-b
|
|
set-option -g prefix C-a
|
|
bind-key a send-prefix
|
|
|
|
# vim binds for pane navigation
|
|
bind-key h select-pane -L
|
|
bind-key j select-pane -D
|
|
bind-key k select-pane -U
|
|
bind-key l select-pane -R
|
|
|
|
# last window similar to screen
|
|
#bind-key b send-prefix
|
|
bind-key C-a last-window
|