Skip to content

Instantly share code, notes, and snippets.

@technicool
Last active August 29, 2015 14:04
Show Gist options
  • Save technicool/f6167ca7b6b6a1ce91b0 to your computer and use it in GitHub Desktop.
Save technicool/f6167ca7b6b6a1ce91b0 to your computer and use it in GitHub Desktop.
TMux resource file
# Some of this was stolen from:
# http://blog.hawkhost.com/2010/07/02/tmux-%E2%80%93-the-terminal-multiplexer-part-2/
#
# Split window panes horizontally and vertically by nice designators:
# Ctrl -
# Ctrl |
#
unbind % # Remove default binding since we're replacing
bind | split-window -h
bind - split-window -v
# Set status bar colors
set -g status-bg black
set -g status-fg white
set -g status-left '#[fg=green]#H'
# Highlight active window
set-window-option -g window-status-current-bg red
set -g status-right '#[fg=yellow]#(uptime | cut -d "," -f 2-)'
#status-interval 15 # Default is 15 seconds
# Set window notifications
# This will have tmux notify you in the status area when a window has activity:
setw -g monitor-activity on
set -g visual-activity on
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment