1
0
Fork 0

more compatible tmux theme

This commit is contained in:
Von Random 2018-06-28 14:53:04 +03:00
parent 5b3070766e
commit 0b80f59127

View file

@ -1,7 +1,4 @@
unbind C-b unbind C-b
set -g update-environment "DISPLAY SSH_ASKPASS SSH_AGENT_PID SSH_CONNECTION WINDOWID XAUTHORITY"
set -g allow-rename off
set -g prefix C-g
bind C-g send-prefix bind C-g send-prefix
bind s split-window -v bind s split-window -v
bind v split-window -h bind v split-window -h
@ -14,38 +11,35 @@ bind > resize-pane -R 5
bind - resize-pane -D 5 bind - resize-pane -D 5
bind + resize-pane -U 5 bind + resize-pane -U 5
bind e choose-session bind e choose-session
bind p command-prompt -p "ssh:" "new-session -As 'ssh'; new-window -n '%1' 'TERM=screen ssh %%'"
bind t command-prompt -p "attach pane to:" "join-pane -t :'%%'" bind t command-prompt -p "attach pane to:" "join-pane -t :'%%'"
bind y command-prompt break-pane bind y command-prompt break-pane
bind p command-prompt -p "ssh:" "new-session -As 'ssh'; new-window -n '%1' 'TERM=screen ssh %%'"
bind -n M-w next-window bind -n M-w next-window
bind -n M-q previous-window bind -n M-q previous-window
bind -n M-j next-window bind -n M-j next-window
bind -n M-k previous-window bind -n M-k previous-window
bind -n M-` last-window bind -n M-` last-window
setw -g mode-keys "vi" set -g update-environment "DISPLAY SSH_ASKPASS SSH_AGENT_PID SSH_CONNECTION WINDOWID XAUTHORITY"
set -g allow-rename off
set -g prefix C-g
set -g mode-keys "vi"
set -g set-titles "on" set -g set-titles "on"
set -g set-titles-string "[#h:#S] #W" set -g set-titles-string "[#h:#S] #W"
set -g escape-time "0" set -g escape-time "0"
set -g history-limit "10000" set -g history-limit "10000"
set -g status-left-length "20"
set -g status-right-length "40"
set -g terminal-overrides ',rxvt-unicode-256color:Tc' set -g terminal-overrides ',rxvt-unicode-256color:Tc'
set -g default-terminal "tmux-256color" set -g default-terminal "tmux-256color"
set -g status "on"
set -g status-position "bottom" set -g status-position "bottom"
set -g status-justify "left" set -g status-justify "left"
set -g status-left-length "100" set -g status-left-length "100"
set -g status "on"
set -g status-right-length "100" set -g status-right-length "100"
set -g pane-border-fg "colour11" set -g pane-border-style "bg=default,fg=colour249"
set -g pane-active-border-fg "colour14" set -g pane-active-border-style "bg=default,fg=colour88"
set -g message-bg "colour11" set -g status-style "bg=colour244"
set -g message-fg "colour7" set -g message-style "bg=colour88,fg=colour255"
setw -g window-status-activity-attr "none" set -g window-status-style "bg=colour244,fg=colour255"
setw -g window-status-format "#I #W " set -g window-status-format " #I:#W "
set -g status-bg "colour7" set -g window-status-current-format "#[bg=colour88] #I:#W #[default]"
set -g message-style "bg=colour7,fg=colour11" set -g status-left "#[fg=colour254,bg=colour19] #h #[fg=colour254,bg=colour241] #S #[default] "
setw -g window-status-fg "colour14" set -g status-right " #[fg=colour254,bg=colour241] %a %e #[fg=colour254,bg=colour234] %k:%M "
setw -g window-status-bg "colour7"
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 "