2023-01-21 03:55:49 +02:00
|
|
|
unbind C-b
|
2025-01-25 13:54:10 +02:00
|
|
|
bind C-g send-prefix
|
2018-07-14 14:55:12 +03:00
|
|
|
bind v split-window -h
|
|
|
|
bind s split-window -v
|
2014-07-18 07:11:03 +04:00
|
|
|
bind h select-pane -L
|
|
|
|
bind j select-pane -D
|
|
|
|
bind k select-pane -U
|
|
|
|
bind l select-pane -R
|
2021-04-08 21:06:34 +03:00
|
|
|
bind t command-prompt -p "attach pane to:" "join-pane -t '%%'"
|
2017-12-18 13:59:59 +03:00
|
|
|
bind y command-prompt break-pane
|
2021-02-10 21:52:02 +03:00
|
|
|
bind N new-session
|
2025-01-25 13:54:10 +02:00
|
|
|
bind m setw mouse
|
|
|
|
set -g terminal-overrides ",*:Tc"
|
|
|
|
set -g prefix C-g
|
2018-06-28 14:53:04 +03:00
|
|
|
set -g mode-keys "vi"
|
2016-04-28 15:44:37 +03:00
|
|
|
set -g escape-time "0"
|
|
|
|
set -g history-limit "10000"
|
2023-11-05 17:19:30 +02:00
|
|
|
set -g base-index "1"
|
|
|
|
setw -g pane-base-index "1"
|
2025-01-25 13:54:10 +02:00
|
|
|
setw -g mouse on
|
2021-03-03 00:10:38 +03:00
|
|
|
|
|
|
|
# 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
|