|
|
|
@ -6,38 +6,42 @@ bind h select-pane -L |
|
|
|
|
bind j select-pane -D |
|
|
|
|
bind k select-pane -U |
|
|
|
|
bind l select-pane -R |
|
|
|
|
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 |
|
|
|
|
bind p command-prompt -p "ssh:" "new-window 's %%'" |
|
|
|
|
bind t command-prompt -p "attach pane to:" "join-pane -t '%%'" |
|
|
|
|
bind y command-prompt break-pane |
|
|
|
|
bind N new-session |
|
|
|
|
bind -n M-w next-window |
|
|
|
|
bind -n M-q previous-window |
|
|
|
|
set -g prefix C-g |
|
|
|
|
set -g terminal-overrides "*:Tc" |
|
|
|
|
set -g update-environment "DISPLAY SSH_ASKPASS SSH_AGENT_PID SSH_CONNECTION WINDOWID XAUTHORITY" |
|
|
|
|
set -g mode-keys "vi" |
|
|
|
|
set -g set-titles "on" |
|
|
|
|
set -g set-titles-string "[#h:#S] #W" |
|
|
|
|
set -g escape-time "0" |
|
|
|
|
set -g history-limit "10000" |
|
|
|
|
|
|
|
|
|
# newer options, not universally compatible |
|
|
|
|
bind p command-prompt -p "ssh:" "new-window 's %%'" |
|
|
|
|
bind t command-prompt -p "attach pane to:" "join-pane -t '%%'" |
|
|
|
|
set -g terminal-overrides "*:Tc" |
|
|
|
|
set -g update-environment "DISPLAY SSH_ASKPASS SSH_AGENT_PID SSH_CONNECTION WINDOWID XAUTHORITY" |
|
|
|
|
set -g default-terminal "tmux-256color" |
|
|
|
|
set -g message-style "bg=colour11,fg=colour15" |
|
|
|
|
set -g message-command-style "bg=colour1,fg=colour15" |
|
|
|
|
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 |
|
|
|
|
set -g set-titles "on" |
|
|
|
|
set -g set-titles-string "[#h:#S] #W" |
|
|
|
|
set -g automatic-rename on |
|
|
|
|
set -g automatic-rename-format "#T" |
|
|
|
|
|
|
|
|
|
# styling, new incompatible format |
|
|
|
|
set -g pane-border-status "off" |
|
|
|
|
set -g pane-border-style "fg=colour11" |
|
|
|
|
set -g pane-active-border-style "fg=colour4" |
|
|
|
|
set -g message-style "bg=colour4,fg=colour7" |
|
|
|
|
set -g message-command-style "bg=colour1,fg=colour7" |
|
|
|
|
set -g status on |
|
|
|
|
set -g status-style "bg=colour7,fg=colour11" |
|
|
|
|
set -g status-format[0] "#[fg=colour15,bg=colour4] #h #[fg=colour15,bg=colour14] #S #[default]#{W: #I:#W ,#[reverse] #I:#W #[default]}#[align=right]#[fg=colour15,bg=colour14] %a %e #[fg=colour7,bg=colour11] %k:%M " |
|
|
|
|
set -g status-style "bg=default,fg=default" |
|
|
|
|
set -g status-format[0] "#[bg=colour4,fg=colour7] #h[#S] #[default]#{W: #I:#W ,#[reverse] #I:#W #[default]}#[align=right]#[fg=colour7,bg=colour2] %a %e %k:%M " |
|
|
|
|
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" |
|
|
|
|
set -g automatic-rename on |
|
|
|
|
set -g automatic-rename-format "#T" |
|
|
|
|