Skip to content

Instantly share code, notes, and snippets.

@davfre
Created December 5, 2012 10:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save davfre/4214445 to your computer and use it in GitHub Desktop.
Save davfre/4214445 to your computer and use it in GitHub Desktop.
tmux config
#go to last active window (hit C-b twice)
bind-key C-b last-window
#split windows key bindings
unbind %
bind | split-window -h
bind - split-window -v
#status bar
set -g status-bg black
set -g status-fg white
set -g status-left '#[fg=green]#H'
set-window-option -g window-status-current-bg red
set -g status-right '#[fg=yellow]#(uptime | cut -d "," -f 2-)'
# Set window notifications
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