X-Git-Url: http://git.iain.cx/?a=blobdiff_plain;ds=sidebyside;f=.tmux.conf;h=5dc79dcbc03e6e9ea383eed9b377ed19993b5f3e;hb=3e3bd26c874890ecfb30106eaf4523c7bab02a65;hp=8e27609818ef9e7206d6482eb18d8729d038682b;hpb=023ace4cee5028e65f80867e2181dc801145783a;p=profile.git diff --git a/.tmux.conf b/.tmux.conf index 8e27609..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 @@ -66,16 +70,18 @@ bind -r L next-window # Last window like Vim. bind ^ last-window bind C-^ last-pane +bind C-o last-pane # Top and bottom. bind J select-pane -D bind K select-pane -U # Swap panes. bind o swap-pane -D -bind -r C-o swap-pane -D 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. @@ -171,7 +177,7 @@ set -g message-command-bg colour88 set -g message-command-fg white # Active pane set -g pane-active-border-bg default -set -g pane-active-border-fg white +set -g pane-active-border-fg colour31 # Inactive pane. set -g pane-border-bg default set -g pane-border-fg colour17