Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
50 lines (38 sloc) 1.38 KB
# Automatically set window title
set-window-option -g automatic-rename on
set-option -g set-titles on
#Default terminal colors and history
set -g default-terminal screen-256color
set -g history-limit 10000
#Enable mouse mode
set -g mouse on
# Shift + Left/Right Arrow to switch windows
bind -n S-Left previous-window
bind -n S-Right next-window
# Alt + Arrow to switch pane
bind -n M-Left select-pane -L
bind -n M-Right select-pane -R
bind -n M-Up select-pane -U
bind -n M-Down select-pane -D
# Resize pane on Ctrl + Arrow
bind -r C-Up resize-pane -U
bind -r C-Down resize-pane -D
bind -r C-Left resize-pane -L
bind -r C-Right resize-pane -R
# No delay for escape key press
set -sg escape-time 0
# Visual Indicator if an activity completes in a window
setw -g monitor-activity on
set -g visual-activity on
# Status bar
# selected window as a square with date time, show 5min cpu, users, machine
set-window-option -g status-left " #S "
set-window-option -g status-left-fg black
set-window-option -g status-left-bg green
set-option -g status-right '#(uptime | cut -d "," -f 2,4) / #H / %H:%M %d-%b'
set-window-option -g status-right-fg black
set-window-option -g status-right-bg green
set-window-option -g window-status-format " #I: #W "
set-window-option -g window-status-current-format " #I: #W "
set-window-option -g window-status-current-fg green
set-window-option -g window-status-current-bg black