X-Git-Url: http://git.iain.cx/?a=blobdiff_plain;f=.tmux.conf;fp=.tmux.conf;h=3345bd02e4da077c010dc202beb65d571e66119d;hb=7893f3ff87578ea0314a05970216a766376b3b3a;hp=d4077d3057c672f468005b69f82f3c3aac38a14b;hpb=bfa0c4f2b6dd1f8b6c27c7a3d30dd9d21a524fb1;p=profile.git diff --git a/.tmux.conf b/.tmux.conf index d4077d3..3345bd0 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -66,7 +66,12 @@ bind C-^ last-pane bind J select-pane -D bind K select-pane -U # Swap panes. -bind w swap-pane +bind o swap-pane -D +bind C-o swap-pane -D +bind 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 '%%'" # Show panes. bind = display-panes # Move the current pane into a separate window.