2014-11-18 12:07:11 +02:00
|
|
|
unbind C-b
|
2015-06-11 14:56:16 +03:00
|
|
|
set -g update-environment "DISPLAY SSH_ASKPASS SSH_AGENT_PID SSH_CONNECTION WINDOWID XAUTHORITY"
|
2018-06-03 02:04:38 +03:00
|
|
|
set -g allow-rename off
|
2017-11-01 18:11:22 +02:00
|
|
|
set -g prefix C-g
|
|
|
|
bind C-g send-prefix
|
2014-10-17 02:34:25 +03:00
|
|
|
bind s split-window -v
|
|
|
|
bind v split-window -h
|
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
|
2014-10-17 02:34:25 +03:00
|
|
|
bind < resize-pane -L 5
|
|
|
|
bind > resize-pane -R 5
|
|
|
|
bind - resize-pane -D 5
|
|
|
|
bind + resize-pane -U 5
|
2014-10-20 13:24:39 +03:00
|
|
|
bind e choose-session
|
2017-12-18 12:59:59 +02:00
|
|
|
bind t command-prompt -p "attach pane to:" "join-pane -t :'%%'"
|
|
|
|
bind y command-prompt break-pane
|
2018-06-21 14:57:05 +03:00
|
|
|
bind p command-prompt -p "ssh:" "new-session -As 'ssh'; new-window -n '%1' 'TERM=screen ssh %%'"
|
2014-10-20 13:24:39 +03:00
|
|
|
bind -n M-w next-window
|
|
|
|
bind -n M-q previous-window
|
2015-01-15 15:34:23 +02:00
|
|
|
bind -n M-j next-window
|
|
|
|
bind -n M-k previous-window
|
2014-10-17 02:34:25 +03:00
|
|
|
bind -n M-` last-window
|
2016-04-28 15:44:37 +03:00
|
|
|
setw -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"
|
|
|
|
set -g status-left-length "20"
|
|
|
|
set -g status-right-length "40"
|
2018-06-25 19:24:36 +03:00
|
|
|
set -g terminal-overrides ',rxvt-unicode-256color:Tc'
|
2018-06-21 02:16:25 +03:00
|
|
|
set -g default-terminal "tmux-256color"
|
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 "on"
|
|
|
|
set -g status-right-length "100"
|
2016-02-04 12:36:58 +02:00
|
|
|
set -g pane-border-fg "colour11"
|
|
|
|
set -g pane-active-border-fg "colour14"
|
|
|
|
set -g message-bg "colour11"
|
2015-04-06 21:52:37 +03:00
|
|
|
set -g message-fg "colour7"
|
2014-10-13 02:20:24 +03:00
|
|
|
setw -g window-status-activity-attr "none"
|
2017-08-17 19:41:59 +03:00
|
|
|
setw -g window-status-format "#I #W "
|
2016-04-14 15:18:27 +03:00
|
|
|
set -g status-bg "colour7"
|
2017-12-01 01:47:14 +02:00
|
|
|
set -g message-style "bg=colour7,fg=colour11"
|
2016-04-14 15:18:27 +03:00
|
|
|
setw -g window-status-fg "colour14"
|
|
|
|
setw -g window-status-bg "colour7"
|
2017-08-17 19:41:59 +03:00
|
|
|
setw -g window-status-current-format "#[fg=colour8,bg=colour7,underscore]#I #W#[default] "
|
|
|
|
set -g status-left "#[fg=colour15,bg=colour4,bold] #h #[fg=colour4,bg=colour12,nobold,nounderscore,noitalics]#[fg=colour7,bg=colour12] #S #[fg=colour12,bg=colour7,nobold,nounderscore,noitalics]#[default] "
|
|
|
|
set -g status-right " #[fg=colour12,bg=colour7,nobold,nounderscore,noitalics]#[fg=colour15,bg=colour12] %a %e #[fg=colour10,bg=colour12,nobold,nounderscore,noitalics]#[fg=colour7,bg=colour10] %k:%M "
|