Skip to content

Instantly share code, notes, and snippets.

@katanacrimson
Created January 10, 2012 22:31
Show Gist options
  • Save katanacrimson/1591613 to your computer and use it in GitHub Desktop.
Save katanacrimson/1591613 to your computer and use it in GitHub Desktop.
tmux config file
set -g set-titles off
set -g prefix C-a
unbind C-b
bind C-a send-prefix
bind-key C-a last-window
unbind % # Remove default binding since we’re replacing
bind | split-window -h
bind - split-window -v
set -g lock-command 'tput civis && read -s -n1'
bind C-l set lock-command '/usr/bin/vlock' \; lock-client \; set lock-command 'tput civis && read -s -n1'
# Set 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 4-)'
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