Skip to content

Instantly share code, notes, and snippets.

@sirgt
Created July 4, 2014 14:58
Show Gist options
  • Save sirgt/8c09196eb57e583105c0 to your computer and use it in GitHub Desktop.
Save sirgt/8c09196eb57e583105c0 to your computer and use it in GitHub Desktop.
tmux.conf
# ` is an interesting key for a prefix
#set-option -g prefix `
# Set status bar
set -g status-bg black
set -g status-fg white
set -g status-left ""
#set -g status-right "#[fg=green]#H"
# Status bar
#set -g status-bg black
#set -g status-fg white
set -g status-interval 10
set -g status-left-length 50
set -g status-left '#[fg=green] #(whoami)@#(hostname) '
set -g status-right "#[bold,fg=cyan]#(uptime | awk -F: '{print $(NF\\)}' | sed s/' '//)#[nobold,fg=default] #[bold,fg=cyan]%a %d-%m-%y %H:%M%p#[nobold,fg=default]"
set-window-option -g window-status-current-bg red
# Set window notifications
setw -g monitor-activity on
set -g visual-activity on
# Start window numbers from 1
set -g base-index 1
# Message bar
set -g message-attr bright
set -g message-bg black
set -g message-fg blue
set -g display-time 2000
set -g display-panes-time 2000
set-option -g status-utf8 on
# bind to reload config
bind r source-file ~/.tmux.conf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment