2014-11-18 12:07:11 +02:00
|
|
|
unbind C-b
|
2017-11-01 18:11:22 +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
|
|
|
|
bind e choose-tree -Zs
|
2014-07-18 06:11:03 +03:00
|
|
|
bind h select-pane -L
|
|
|
|
bind j select-pane -D
|
|
|
|
bind k select-pane -U
|
|
|
|
bind l select-pane -R
|
2018-11-15 11:44:56 +02:00
|
|
|
bind r display "resize" \; switch-client -T resize
|
2018-07-13 16:24:15 +03:00
|
|
|
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
|
2018-07-10 15:27:39 +03:00
|
|
|
bind p command-prompt -p "ssh:" "new-session -As 'ssh'; new-window -n '%1' 'TERM=screen.xterm-new ssh %%'"
|
2018-07-13 16:24:15 +03:00
|
|
|
bind t command-prompt -p "attach pane to:" "join-pane -t '%%'"
|
2017-12-18 12:59:59 +02:00
|
|
|
bind y command-prompt break-pane
|
2014-10-20 13:24:39 +03:00
|
|
|
bind -n M-w next-window
|
|
|
|
bind -n M-q previous-window
|
2014-10-17 02:34:25 +03:00
|
|
|
bind -n M-` last-window
|
2018-11-15 11:44:56 +02:00
|
|
|
set -g terminal-overrides 'rxvt-unicode*:sitm@,ritm@'
|
2018-06-28 14:53:04 +03:00
|
|
|
set -g prefix C-g
|
2018-06-28 19:23:32 +03:00
|
|
|
set -g update-environment "DISPLAY SSH_ASKPASS SSH_AGENT_PID SSH_CONNECTION WINDOWID XAUTHORITY"
|
2018-06-28 14:53:04 +03:00
|
|
|
set -g mode-keys "vi"
|
2016-04-28 17:06:00 +03:00
|
|
|
set -g set-titles "on"
|
2017-11-08 16:47:04 +02:00
|
|
|
set -g set-titles-string "[#h:#S] #W"
|
2016-04-28 15:44:37 +03:00
|
|
|
set -g escape-time "0"
|
|
|
|
set -g history-limit "10000"
|
2018-06-21 02:16:25 +03:00
|
|
|
set -g default-terminal "tmux-256color"
|
2018-06-28 14:53:04 +03:00
|
|
|
set -g status "on"
|
2018-07-03 15:17:16 +03:00
|
|
|
set -g status-interval 2
|
2016-09-23 16:27:41 +03:00
|
|
|
set -g status-position "bottom"
|
2016-12-06 13:31:02 +02:00
|
|
|
set -g status-justify "left"
|
2014-10-13 02:20:24 +03:00
|
|
|
set -g status-left-length "100"
|
|
|
|
set -g status-right-length "100"
|
2018-07-03 15:17:16 +03:00
|
|
|
set -g pane-border-status "off"
|
|
|
|
set -g automatic-rename on
|
|
|
|
set -g automatic-rename-format "#T"
|
2018-06-28 19:23:32 +03:00
|
|
|
set -g pane-border-style "fg=colour249"
|
|
|
|
set -g pane-active-border-style "fg=colour88"
|
2018-06-28 14:53:04 +03:00
|
|
|
set -g status-style "bg=colour244"
|
|
|
|
set -g message-style "bg=colour88,fg=colour255"
|
|
|
|
set -g window-status-style "bg=colour244,fg=colour255"
|
|
|
|
set -g window-status-format " #I:#W "
|
|
|
|
set -g window-status-current-format "#[bg=colour88] #I:#W #[default]"
|
|
|
|
set -g status-left "#[fg=colour254,bg=colour19] #h #[fg=colour254,bg=colour241] #S #[default] "
|
|
|
|
set -g status-right " #[fg=colour254,bg=colour241] %a %e #[fg=colour254,bg=colour234] %k:%M "
|