43 lines
1.3 KiB
Bash
43 lines
1.3 KiB
Bash
unbind C-b
|
|
bind C-t 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
|
|
set -g prefix C-t
|
|
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"
|
|
|
|
# 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
|
|
|
|
# styling, new incompatible format
|
|
set -g set-titles on
|
|
set -g set-titles-string "[#h:#S] #W"
|
|
set -g automatic-rename off
|
|
set -g pane-border-status off
|
|
set -g pane-border-lines "heavy"
|
|
set -g pane-border-style "default"
|
|
set -g pane-active-border-style "fg=brightred"
|
|
set -g message-style "bg=blue,fg=white"
|
|
set -g message-command-style "bg=red,fg=white"
|
|
set -g status on
|
|
set -g status-style "fg=black,bg=white"
|
|
set -g status-interval 2
|
|
set -g status-position "bottom"
|
|
set -g status-justify "left"
|
|
set -g status-left-length "100"
|
|
set -g status-right-length "100"
|