2014-11-13 14:04:43 +02:00
|
|
|
# vim: ft=tmux
|
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"
|
2014-11-18 12:07:11 +02:00
|
|
|
set -g prefix C-Space
|
|
|
|
bind C-Space 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
|
2014-07-18 06:11:03 +03:00
|
|
|
bind m set-option -g mode-mouse on\; set-option -g mouse-select-pane on\; set-option -g mouse-select-window on\; set-option -g mouse-resize-pane on\; display-message "mouse mode ON"
|
|
|
|
bind M set-option -g mode-mouse off\; set-option -g mouse-select-pane off\; set-option -g mouse-select-window off\; set-option -g mouse-resize-pane off\; display-message "mouse mode OFF"
|
2015-06-28 00:23:42 +03:00
|
|
|
bind M-0 join-pane -t 0
|
|
|
|
bind M-1 join-pane -t 1
|
|
|
|
bind M-2 join-pane -t 2
|
|
|
|
bind M-3 join-pane -t 3
|
|
|
|
bind M-4 join-pane -t 4
|
|
|
|
bind M-5 join-pane -t 5
|
|
|
|
bind M-6 join-pane -t 6
|
|
|
|
bind M-7 join-pane -t 7
|
|
|
|
bind M-8 join-pane -t 8
|
|
|
|
bind M-9 join-pane -t 9
|
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
|
2014-07-18 06:11:03 +03:00
|
|
|
bind -n S-Pageup copy-mode -u
|
2014-10-17 02:34:25 +03:00
|
|
|
setw -g mode-keys vi
|
2014-10-17 11:43:18 +03:00
|
|
|
set -g base-index 1
|
2015-01-22 11:55:10 +02:00
|
|
|
set -g escape-time 0
|
2014-07-18 06:11:03 +03:00
|
|
|
set -g history-limit 10000
|
2014-10-14 18:16:56 +03:00
|
|
|
set -g set-titles off
|
2014-07-18 06:11:03 +03:00
|
|
|
set -g set-titles-string "#T"
|
|
|
|
set -g status-left-length 20
|
|
|
|
set -g status-right-length 40
|
|
|
|
set -g monitor-activity on
|
2014-10-14 18:16:56 +03:00
|
|
|
set -g terminal-overrides "rxvt-unicode*:sitm@,ritm@"
|
2015-06-29 17:58:40 +03:00
|
|
|
set -g set-titles on
|
|
|
|
set -g set-titles-string '#h'
|
2014-07-18 06:11:03 +03:00
|
|
|
|
2015-11-07 11:31:35 +02:00
|
|
|
set -g default-terminal "screen-256color"
|
2015-06-29 12:45:32 +03:00
|
|
|
set -g status-position top
|
2015-06-27 21:56:50 +03:00
|
|
|
set -g status-bg "colour8"
|
2015-04-06 21:52:37 +03:00
|
|
|
set -g message-command-fg "colour7"
|
2015-06-28 23:44:01 +03:00
|
|
|
set -g status-justify "centre"
|
2014-10-13 02:20:24 +03:00
|
|
|
set -g status-left-length "100"
|
|
|
|
set -g status "on"
|
|
|
|
set -g pane-active-border-fg "colour14"
|
2015-04-06 21:52:37 +03:00
|
|
|
set -g message-bg "colour11"
|
2014-10-13 02:20:24 +03:00
|
|
|
set -g status-right-length "100"
|
|
|
|
set -g status-right-attr "none"
|
2015-04-06 21:52:37 +03:00
|
|
|
set -g message-fg "colour7"
|
|
|
|
set -g message-command-bg "colour11"
|
2014-10-13 02:20:24 +03:00
|
|
|
set -g status-attr "none"
|
|
|
|
set -g status-utf8 "on"
|
|
|
|
set -g pane-border-fg "colour11"
|
|
|
|
set -g status-left-attr "none"
|
2015-04-06 21:52:37 +03:00
|
|
|
setw -g window-status-fg "colour10"
|
2014-10-13 02:20:24 +03:00
|
|
|
setw -g window-status-attr "none"
|
2015-06-27 21:56:50 +03:00
|
|
|
setw -g window-status-activity-bg "colour8"
|
2014-10-13 02:20:24 +03:00
|
|
|
setw -g window-status-activity-attr "none"
|
2015-04-06 21:52:37 +03:00
|
|
|
setw -g window-status-activity-fg "colour14"
|
2015-06-27 21:56:50 +03:00
|
|
|
setw -g window-status-bg "colour8"
|
|
|
|
set -g status-left "#[fg=colour15,bg=colour14,bold] #h #[fg=colour14,bg=colour11,nobold,nounderscore,noitalics]#[fg=colour7,bg=colour11] #S #[fg=colour11,bg=colour8,nobold,nounderscore,noitalics]#[default]"
|
|
|
|
set -g status-right "#[fg=colour10,bg=colour8]#I:#P #[fg=colour11,bg=colour8,nobold,nounderscore,noitalics]#[fg=colour7,bg=colour11] %a %e #[fg=colour14,bg=colour11,nobold,nounderscore,noitalics]#[fg=colour7,bg=colour14] %k:%M "
|
2014-10-16 18:34:51 +03:00
|
|
|
setw -g window-status-format " #I:#W "
|
2015-06-28 23:44:01 +03:00
|
|
|
setw -g window-status-current-format "#[fg=colour7,bg=colour8][#I:#W]#[default]"
|