]> ruderich.org/simon Gitweb - config/dotfiles.git/blobdiff - tmux.conf.in
setup.sh: Also use 256color check for Tmux.
[config/dotfiles.git] / tmux.conf.in
index f1fe4e54468b2da6e8894238d8374cb09a743b93..9c22dfb9694541f723ef2827f102311a8ba45715 100644 (file)
@@ -1,4 +1,9 @@
 # Tmux configuration file.
+#
+# Notes:
+#
+# - To swap/renumber windows (like GNU screen's :number command) use
+#   :swap-window -t <number>.
 
 # Copyright (C) 2011-2012  Simon Ruderich
 #
@@ -24,9 +29,16 @@ set-option -g history-limit 10000
 # Display messages for three seconds.
 set-option -g display-time 3000
 
+# Open new windows with the current working directory used when Tmux was
+# started, and not the working directory of the current pane.
+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).