diff options
author | June McEnroe <programble@gmail.com> | 2015-05-24 15:58:41 -0400 |
---|---|---|
committer | June McEnroe <programble@gmail.com> | 2015-05-24 15:58:41 -0400 |
commit | b75b3a4a63eced3d5c8383e6a4842cadaf55b4ad (patch) | |
tree | 40ae2f7e7b74f8a73ae363c70e509177d9aa12b1 | |
parent | Replace effuse with simple shell scripts (diff) | |
download | src-b75b3a4a63eced3d5c8383e6a4842cadaf55b4ad.tar.gz src-b75b3a4a63eced3d5c8383e6a4842cadaf55b4ad.zip |
Swap windows instead of moving them
-rw-r--r-- | .tmux.conf | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/.tmux.conf b/.tmux.conf index c202a31e..e6e63991 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -28,6 +28,9 @@ set -g status-right-bg white # Create new windows in same directory bind t new-window -c '#{pane_current_path}' +# Move windows around by swapping +bind . command-prompt "swap-window -t '%%'" + # Split windows like vim, in same directory bind s split-window -v -c '#{pane_current_path}' bind v split-window -h -c '#{pane_current_path}' |