mirror of
https://github.com/prurigro/darkcloud-tmuxconfig.git
synced 2024-12-27 11:04:34 -05:00
Remove another feature broken by tmux 3.0
This commit is contained in:
parent
2a5d4731e7
commit
d254e441ee
3 changed files with 0 additions and 9 deletions
|
@ -25,7 +25,6 @@
|
|||
| `[` 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 |
|
||||
| `<` and `>` | Move the current window to the first and last window 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 |
|
||||
| `<Space>` and `<Ctrl><Space>` | Move to the previously selected pane and window respectively |
|
||||
|
|
|
@ -72,10 +72,6 @@ bind = select-layout even-horizontal
|
|||
bind -r _ rotate-window -U
|
||||
bind -r + rotate-window -D
|
||||
#
|
||||
# < and > to move the current window to the first and last windows respectively
|
||||
bind < run-shell "while [[ ! $(tmux list-windows | grep -e '(active)$' | sed 's|:.*$||') = 1 ]]; do tmux swap-window -s $(tmux list-windows | grep -e '(active)$' | sed 's|:.*$||') -t $(expr $(tmux list-windows | grep -e '(active)$' | sed 's|:.*$||') - 1); done"
|
||||
bind > run-shell "while [[ ! $(tmux list-windows | grep -e '(active)$' | sed 's|:.*$||') = $(tmux list-windows | tail -n 1 | sed 's|:.*$||') ]]; do tmux swap-window -s $(tmux list-windows | grep -e '(active)$' | sed 's|:.*$||') -t $(expr $(tmux list-windows | grep -e '(active)$' | sed 's|:.*$||') + 1); done"
|
||||
#
|
||||
# . and , to move and swap the current window respectively (. is set by default)
|
||||
bind , command-prompt "swap-window -t '%%'"
|
||||
#
|
||||
|
|
|
@ -72,10 +72,6 @@ bind = select-layout even-horizontal
|
|||
bind -r _ rotate-window -U
|
||||
bind -r + rotate-window -D
|
||||
#
|
||||
# < and > to move the current window to the first and last windows respectively
|
||||
bind < run-shell "while [[ ! $(tmux list-windows | grep -e '(active)$' | sed 's|:.*$||') = 1 ]]; do tmux swap-window -s $(tmux list-windows | grep -e '(active)$' | sed 's|:.*$||') -t $(expr $(tmux list-windows | grep -e '(active)$' | sed 's|:.*$||') - 1); done"
|
||||
bind > run-shell "while [[ ! $(tmux list-windows | grep -e '(active)$' | sed 's|:.*$||') = $(tmux list-windows | tail -n 1 | sed 's|:.*$||') ]]; do tmux swap-window -s $(tmux list-windows | grep -e '(active)$' | sed 's|:.*$||') -t $(expr $(tmux list-windows | grep -e '(active)$' | sed 's|:.*$||') + 1); done"
|
||||
#
|
||||
# . and , to move and swap the current window respectively (. is set by default)
|
||||
bind , command-prompt "swap-window -t '%%'"
|
||||
#
|
||||
|
|
Loading…
Reference in a new issue