Support tmux 1.7.
[profile.git] / .tmux.conf
index a8e7523..5dc79dc 100644 (file)
@@ -1,6 +1,10 @@
 ################################################################################
 # Options.
 ################################################################################
+# Start in home.  The documentation says ~ is supported but tmux 1.7
+# barfs on it.
+set -g default-path "$HOME"
+
 # Use vi keys for scrolling etc.
 # Use lsk -t vi|emacs-<table> to see binds in table choice, copy or edit.
 setw -g mode-keys vi
@@ -76,6 +80,8 @@ bind -r O swap-pane -U
 bind w command-prompt -p "Select [<window>.]<pane> to swap:" 'swap-pane -s . -t %1'
 # Swap windows.
 bind W choose-window "swap-window -t '%%'"
+# Renumber windows.
+bind M-w move-window -r -s : -t :
 # Show panes.
 bind = display-panes
 # Move the current pane into a separate window.