Skip to content

Instantly share code, notes, and snippets.

@monde
Created November 1, 2010 19:06
Show Gist options
  • Save monde/658690 to your computer and use it in GitHub Desktop.
Save monde/658690 to your computer and use it in GitHub Desktop.
my .tmux.conf
# http://github.com/dpc/homeskel/blob/master/.tmux.conf
# http://blog.hawkhost.com/2010/06/28/tmux-the-terminal-multiplexer/
# http://blog.hawkhost.com/2010/07/02/tmux-%E2%80%93-the-terminal-multiplexer-part-2/
# http://www.linuxized.com/2010/05/switching-from-gnu-screen-to-tmux/
#set -g prefix C-a
unbind %
bind | split-window -h
unbind -
bind - split-window -v
set -g history-limit 4096
setw -g automatic-rename off
set-option -g set-titles on
set-option -g set-titles-string '#(hostname -s):#I.#P #W #T' # window number,program name,active (or not)
set -g status-bg 7
set -g status-left-fg black
set -g status-right-fg black
set -g status-fg white
set-window-option -g window-status-current-fg black
set-window-option -g window-status-fg black
set-window-option -g window-status-current-fg colour232
set-window-option -g window-status-current-attr bold
set -g status-left '#[fg=green][ #[fg=red]#H #[fg=green]:#[fg=white]#S #[fg=green]][#[default] '
set -g status-left-length 20
set -g status-left '#[fg=black][ #[fg=red]#(hostname -s) #[fg=black]] [#[default]'
set -g status-right '#[fg=black]][ #[fg=blue]%m/%d/%y #[fg=black]%H:%M #[fg=black]]#[default]'
set-option -g lock-after-time 300
set-option -g lock-server on
set -g lock-command vlock
# `+r reloads the configuration, 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