X-Git-Url: http://git.iain.cx/?p=profile.git;a=blobdiff_plain;f=.tmux.conf;h=5dc79dcbc03e6e9ea383eed9b377ed19993b5f3e;hp=a8e7523a76f6a77ff61a62c0f87fcf704b56bf24;hb=3e3bd26c874890ecfb30106eaf4523c7bab02a65;hpb=f31e7ccbee13e0f17c61109e873556582bbed335 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.