Add user, host, and session names to tmux config

This commit is contained in:
Nicole Tietz-Sokolskaya 2018-05-28 17:27:35 -04:00
parent 8f517fe0d5
commit 893e7430c4

View file

@ -6,8 +6,8 @@ set -sg escape-time 0
set -g default-terminal "screen-256color"
# window status
setw -g window-status-format "#[fg=colour7]#[bg=black] --#[fg=color7]#[bg=black] #I #W "
setw -g window-status-current-format "#[bg=colour7]#[fg=black] --#[bg=color7]#[fg=black] #I #W "
setw -g window-status-format "#[bg=colour241,fg=colour233] #I #W "
setw -g window-status-current-format "#[bg=colour245,fg=colour233] #I #W "
# The statusbar
set -g status-interval 2
@ -15,18 +15,12 @@ set -g status-position bottom
set -g status-bg colour234
set -g status-fg colour137
set -g status-attr dim
set -g status-left ''
set -g status-left '#[fg=colour245] #(whoami)@#H > #S '
set -g status-right '#[fg=colour233,bg=colour241,bold] %m/%d #[fg=colour233,bg=colour245,bold] %I:%M '
set -g status-right-length 50
set -g status-left-length 20
set -g status-left-length k0
set -g clock-mode-style 12
# Vim style pane selection
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
# Use Alt-vim keys without prefix key to switch panes
bind -n M-h select-pane -L
bind -n M-j select-pane -D