################################################################################
# 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
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.