X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=tmux.conf.in;h=097ebc3891bac9be3a07aee01cc8e39e88492837;hb=1df60503e9441b5d2f5a09ad2d01f99055b6e2d2;hp=fe03c1632b81846b9d3f06b883fcfc4c06c91888;hpb=bcb93275b56336f67848b9a3bf5044212e530777;p=config%2Fdotfiles.git diff --git a/tmux.conf.in b/tmux.conf.in index fe03c16..097ebc3 100644 --- a/tmux.conf.in +++ b/tmux.conf.in @@ -1,4 +1,9 @@ # Tmux configuration file. +# +# Notes: +# +# - To swap/renumber windows (like GNU screen's :number command) use +# :swap-window -t . # Copyright (C) 2011-2012 Simon Ruderich # @@ -18,10 +23,14 @@ # GENERAL +# Use Zsh as shell. Tmux does not display a warning if the shell isn't +# available! +set-option -g default-shell "/bin/zsh" + # Use a larger window history, in lines. set-option -g history-limit 10000 -# Display messages for three seconds. +# Display Tmux messages for a longer time, in milliseconds. set-option -g display-time 3000 # Open new windows with the current working directory used when Tmux was @@ -31,6 +40,9 @@ set-option -g default-path "." # TERMINAL +# Enable 256 color mode. +set-option -g default-terminal "screen-256color" + # Disable alternative screen feature. This way e.g. Vim's window content stays # visible after quitting Vim. This is quite useful to copy data (needs tmux # 1.5 to work (almost) completely). @@ -53,7 +65,7 @@ set-option -g status-bg colour12 # Nothing left of window list. set-option -g status-left "" -# Current load average and hostname on the right. +# Current load average and hostname (#H) on the right. set-option -g status-right "#(uptime | sed 's/^.*load averages*: //; s/,//g') \ #H"