2021-12-08 09:38:24 -06:00
|
|
|
set -g status-keys vi
|
|
|
|
setw -g mode-keys vi
|
|
|
|
|
|
|
|
set -g prefix C-a
|
|
|
|
unbind C-b
|
|
|
|
bind C-a send-prefix
|
|
|
|
|
|
|
|
# smart pane switching with awareness of vim splits
|
|
|
|
bind h select-pane -L
|
|
|
|
bind j select-pane -D
|
|
|
|
bind k select-pane -U
|
|
|
|
bind l select-pane -R
|
|
|
|
|
|
|
|
# split panes using | and -
|
|
|
|
bind | split-window -h -c "#{pane_current_path}"
|
|
|
|
bind - split-window -v -c "#{pane_current_path}"
|
|
|
|
unbind '"'
|
|
|
|
unbind %
|
|
|
|
|
|
|
|
# Set default term to xterm
|
2022-01-20 17:26:35 -06:00
|
|
|
set -g default-terminal "xterm-256color"
|
|
|
|
set-option -ga terminal-overrides ",xterm-256color:Tc"
|