28 lines
834 B
Text
28 lines
834 B
Text
unbind C-b
|
|
bind C-g send-prefix
|
|
bind v split-window -h
|
|
bind s split-window -v
|
|
bind h select-pane -L
|
|
bind j select-pane -D
|
|
bind k select-pane -U
|
|
bind l select-pane -R
|
|
bind t command-prompt -p "attach pane to:" "join-pane -t '%%'"
|
|
bind y command-prompt break-pane
|
|
bind N new-session
|
|
bind m setw mouse
|
|
set -g terminal-overrides ",*:Tc"
|
|
set -g prefix C-g
|
|
set -g mode-keys "vi"
|
|
set -g escape-time "0"
|
|
set -g history-limit "10000"
|
|
set -g base-index "1"
|
|
setw -g pane-base-index "1"
|
|
setw -g mouse on
|
|
|
|
# newer options, not universally compatible
|
|
set -g update-environment "DISPLAY SSH_ASKPASS SSH_AGENT_PID SSH_CONNECTION WINDOWID XAUTHORITY"
|
|
bind r display "resize" \; switch-client -T resize
|
|
bind -T resize -r h resize-pane -L 5
|
|
bind -T resize -r j resize-pane -D 5
|
|
bind -T resize -r k resize-pane -U 5
|
|
bind -T resize -r l resize-pane -R 5
|