diff --git a/README.md b/README.md index a4a2b7a..568866b 100644 --- a/README.md +++ b/README.md @@ -25,6 +25,7 @@ | `[` and `]` | Split the window vertically and horizontally respectively | | `-` and `=` | Select an even layout vertically and horizontally respectively | | `_` and `+` | Rotate the window counter-clockwise and clockwise respectively | +| `S` | Run the `swap-pane` command to swap the current pane with the marked one | | `.` and `,` | Move and swap the current window with the provided window number respectively | | `$` and `#` | Rename the current session and window with the provided name respectively | | `` and `` | Move to the previously selected pane and window respectively | diff --git a/tmux.normal.conf b/tmux.normal.conf index 8a624c1..53e1570 100644 --- a/tmux.normal.conf +++ b/tmux.normal.conf @@ -68,6 +68,9 @@ bind = select-layout even-horizontal bind -r _ rotate-window -U bind -r + rotate-window -D # +# S to run the swap-pane command +bind S swap-pane +# # . and , to move and swap the current window respectively (. is set by default) bind , command-prompt "swap-window -t '%%'" # diff --git a/tmux.powerline.conf b/tmux.powerline.conf index 53ab8cf..52576d7 100644 --- a/tmux.powerline.conf +++ b/tmux.powerline.conf @@ -68,6 +68,9 @@ bind = select-layout even-horizontal bind -r _ rotate-window -U bind -r + rotate-window -D # +# S to run the swap-pane command +bind S swap-pane +# # . and , to move and swap the current window respectively (. is set by default) bind , command-prompt "swap-window -t '%%'" #