Skip to content

Instantly share code, notes, and snippets.

@grundprinzip
Created November 9, 2011 14:54
Show Gist options
  • Save grundprinzip/1351656 to your computer and use it in GitHub Desktop.
Save grundprinzip/1351656 to your computer and use it in GitHub Desktop.
tmux config
# Zero-based indexing is sure great in programming languages, but not
# so much in terminal multiplexers where that zero is all the way on
# the other side of the keyboard.
set -g base-index 1
# Update interval
set -g status-interval 2
# By default, all windows in a session are constrained to the size of
# the smallest client connected to that session, even if both clients
# are looking at different windows. It seems that in this particular
# case, Screen has the better default where a window is only
# constrained in size if a smaller client is actively looking at
# it. This behaviour can be fixed by setting tmux's aggressive-resize
# option.
setw -g aggressive-resize on
# Theming
set -g status-bg black
set -g status-fg white
set -g history-limit 1000
set -g status-right '#(cut -d " " -f 1-3 /proc/loadavg)#[default] | %H:%M#[default] | %d.%m.%y#[default]'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment