Skip to content

Commit ad0bfb2

Browse files
committed
Window move follows moved window
The behavior for this was changed in tmux 3.0 We're adding a flag to keep tmux 2.x behavior. Thanks @kaykayehnn Closes #30
1 parent aef5fa0 commit ad0bfb2

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
### master
44
- update readme - write all keybindings
55
- override default split window key bindings
6+
- Moving windows follows current window, compensate for change in behavior in
7+
tmux 3.0
68

79
### v1.0.0, 2014-08-30
810
- update readme to reflect github organization change

pain_control.tmux

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ pane_navigation_bindings() {
2727
}
2828

2929
window_move_bindings() {
30-
tmux bind-key -r "<" swap-window -t -1
31-
tmux bind-key -r ">" swap-window -t +1
30+
tmux bind-key -r "<" swap-window -d -t -1
31+
tmux bind-key -r ">" swap-window -d -t +1
3232
}
3333

3434
pane_resizing_bindings() {

0 commit comments

Comments
 (0)