Skip to content

Commit 5b96706

Browse files
author
Bruno Sutic
committed
Change "move window" bindings to be more intuitive
1 parent c388d13 commit 5b96706

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
- update readme - more precise binding definition
66
- switch to tab indentation
77
- add swap-window bindings
8+
- change "move window" key bindings to be more intuitive
89

910
### v0.0.2, 2014-06-03
1011
- split-window bindings "|" and "-" now create a new pane with the same path as

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,8 @@ Newly created pane always has the same path as the original pane.
6262

6363
**Swapping windows**
6464

65-
- `prefix + alt + h` - moves current window one position to the left
66-
- `prefix + alt + l` - moves current window one position to the right
65+
- `prefix + <` - moves current window one position to the left
66+
- `prefix + >` - moves current window one position to the right
6767

6868
### Installation with [Tmux Plugin Manager](https://github.com/tmux-plugins/tpm) (recommended)
6969

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 M-h swap-window -t -1
31-
tmux bind-key -r M-l swap-window -t +1
30+
tmux bind-key -r "<" swap-window -t -1
31+
tmux bind-key -r ">" swap-window -t +1
3232
}
3333

3434
pane_resizing_bindings() {

0 commit comments

Comments
 (0)