Created
July 5, 2010 21:54
-
-
Save xentek/464724 to your computer and use it in GitHub Desktop.
custom .tmux.conf file for your multiplexing pleasure
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Custom tmux configuration: ~/.tmux.conf | |
# Cobbled together from google and trial & error by Eric Marden (xentek.net) | |
# set the command prefix to match gnuscreen (i.e. CTRL+a) | |
set -g prefix C-a | |
bind-key C-a last-window | |
# utf8 | |
set-window-option -g utf8 on | |
# statusbar background to black, foreground to white | |
set-option -g status-fg white | |
set-option -g status-bg black | |
# set the current window name to a nice bold yellow text | |
setw -g window-status-current-attr bold | |
setw -g window-status-current-fg yellow | |
# hostname is printed on the left, uptime and current load on the right | |
set-option -g status-left-length 40 | |
set -g status-left "#H" | |
set -g status-right "#(uptime|cut -d "," -f 2-)" | |
# fix the titles | |
set -g set-titles on | |
set -g set-titles-string "#I:#W" | |
# be notified when there is activity in one of your windows | |
setw -g monitor-activity on | |
# don't rename windows automatically | |
set-window-option -g automatic-rename off | |
# reload changes in tmux, handy | |
bind r source-file ~/.tmux.conf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This may require you to compile tmux from source. The ubuntu package doesn't allow some of these options.