Skip to content

Instantly share code, notes, and snippets.

@binarycleric
Created October 17, 2012 20:45
Show Gist options
  • Save binarycleric/3908062 to your computer and use it in GitHub Desktop.
Save binarycleric/3908062 to your computer and use it in GitHub Desktop.
tmux config (October 2012)
# screw the mouse
set-window-option -g mode-mouse off
# scrollback history
set -g history-limit 5000
# "I' == current window index
# 'H' == Hostname
# 'F' == current window flag
# 'P' == current pane index
# 'S' == Session name
# 'T' == current window title
# 'W' == current window name
# '#' == a literal "#"
# Where appropriate, special character sequences may be prefixed with a
# number to specify the maximum length, in this line "#10W'.
set-window-option -g window-status-format '#I#F #10W '
setw -g window-status-current-format '#I#F #10W'
# enable wm window titles
set -g set-titles on
# wm window title string (uses statusbar variables)
set -g set-titles-string '#H: #W'
# default statusbar colors
set -g status-fg cyan
set -g status-bg default
set -g status-attr default
set -g status-left "#[fg=green]host: (#[default]#[fg=yellow]#H#[default]#[fg=green]) | "
set -g status-left-length 40
set -g status-right-length 50
set -g status-right ""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment