Configuration file for tmux, the BSD terminal multiplexer
$HOME/.tmux.conf
Note: If tmux doesn't seem to be reading your custom config file, make sure there is no running tmux process, then delete the server socket '/tmp/tmux-$(id -u)/default'. Or reload the config from inside tmux.
This problem was observed in tmux 1.5 on openSUSE.
The scrollback doesn't work with every terminal type. You might have to use the terminal-overrides option.
To insert a backtick, use Backtick-a.
See also
Fresh tips imported 2011-11-15 from Wired's site, adapted to my needs
### --- Key bindings## Use this if you are used to Ctrl-a from screen# set-option -g prefix C-a# backtick is a good idea for prefixset-option -g prefix `unbind-key C-bbind-key C-a last-windowbind-key ` last-windowbind-key a send-prefix# we might need ` at some point, allow switching# we can also send the prefix char with `-abind-key F11 set-option -g prefix C-abind-key F12 set-option -g prefix `# `+r reloads the configuration, handybind r source-file ~/.tmux.conf# 0 is too far from `, start with window number 1set -g base-index 1set-option -g bell-action anyset-option -g visual-bell on### --- Navigation# Just a few ideas...# set-option -g mouse-select-pane on# set-option -g status-keys vi# setw -g mode-keys vi# setw -g mode-mouse on# setw -g monitor-activity on## bind e previous-window# bind f next-window# bind j up-pane# bind k down-pane### --- Appearanceset-option -g set-titles on# window number,program name,active (or not)set-option -g set-titles-string '#H:#S.#I.#P #W #T'set-option -g status-bg greenset-option -g status-fg blue# more statusbar examples...# set -g status-left '#[fg=red]#H#[fg=green]:#[fg=white]#S #[fg=green]][#[default]'## set -g status-right '#[fg=green]][#[fg=white] #T #[fg=green]][ #[fg=blue]%Y-%m-%d #[fg=white]%H:%M#[default]'# set -g status-right '#[fg=green]][ #[fg=blue]%Y-%m-%d #[fg=white]%H:%M#[default]'set -g history-limit 4096# scrollback workaroundset -g terminal-overrides 'xterm*:smcup@:rmcup@'# important to have proper TERM instead of 'screen' on AIXset -g default-terminal xterm