Skip to content

Commit

Permalink
Window move follows moved window
Browse files Browse the repository at this point in the history
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
  • Loading branch information
bruno- committed Feb 10, 2020
1 parent aef5fa0 commit ad0bfb2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
### master
- update readme - write all keybindings
- override default split window key bindings
- Moving windows follows current window, compensate for change in behavior in
tmux 3.0

### v1.0.0, 2014-08-30
- update readme to reflect github organization change
Expand Down
4 changes: 2 additions & 2 deletions pain_control.tmux
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ pane_navigation_bindings() {
}

window_move_bindings() {
tmux bind-key -r "<" swap-window -t -1
tmux bind-key -r ">" swap-window -t +1
tmux bind-key -r "<" swap-window -d -t -1
tmux bind-key -r ">" swap-window -d -t +1
}

pane_resizing_bindings() {
Expand Down

0 comments on commit ad0bfb2

Please sign in to comment.