mirror of
https://github.com/prurigro/darkcloud-tmuxconfig.git
synced 2024-11-23 07:34:10 -05:00
Add a binding for S to swap the active pane with the marked one
This commit is contained in:
parent
9853d7af9a
commit
ca8c64dd30
3 changed files with 7 additions and 0 deletions
|
@ -25,6 +25,7 @@
|
||||||
| `[` and `]` | Split the window vertically and horizontally respectively |
|
| `[` and `]` | Split the window vertically and horizontally respectively |
|
||||||
| `-` and `=` | Select an even layout vertically and horizontally respectively |
|
| `-` and `=` | Select an even layout vertically and horizontally respectively |
|
||||||
| `_` and `+` | Rotate the window counter-clockwise and clockwise 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 `,` | 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 `#` | Rename the current session and window with the provided name respectively |
|
||||||
| `<Space>` and `<Ctrl><Space>` | Move to the previously selected pane and window respectively |
|
| `<Space>` and `<Ctrl><Space>` | Move to the previously selected pane and window respectively |
|
||||||
|
|
|
@ -68,6 +68,9 @@ bind = select-layout even-horizontal
|
||||||
bind -r _ rotate-window -U
|
bind -r _ rotate-window -U
|
||||||
bind -r + rotate-window -D
|
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)
|
# . and , to move and swap the current window respectively (. is set by default)
|
||||||
bind , command-prompt "swap-window -t '%%'"
|
bind , command-prompt "swap-window -t '%%'"
|
||||||
#
|
#
|
||||||
|
|
|
@ -68,6 +68,9 @@ bind = select-layout even-horizontal
|
||||||
bind -r _ rotate-window -U
|
bind -r _ rotate-window -U
|
||||||
bind -r + rotate-window -D
|
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)
|
# . and , to move and swap the current window respectively (. is set by default)
|
||||||
bind , command-prompt "swap-window -t '%%'"
|
bind , command-prompt "swap-window -t '%%'"
|
||||||
#
|
#
|
||||||
|
|
Loading…
Reference in a new issue