From: Iain Patterson Date: Sat, 15 Dec 2012 01:59:55 +0000 (+0000) Subject: Support tmux 1.7. X-Git-Url: http://git.iain.cx/?a=commitdiff_plain;h=3e3bd26c874890ecfb30106eaf4523c7bab02a65;p=profile.git Support tmux 1.7. --- diff --git a/.tmux.conf b/.tmux.conf index a8e7523..5dc79dc 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -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- 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 [.] 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.