File tree Expand file tree Collapse file tree 3 files changed +11
-0
lines changed Expand file tree Collapse file tree 3 files changed +11
-0
lines changed Original file line number Diff line number Diff line change 4
4
- update readme to reflect github organization change
5
5
- update readme - more precise binding definition
6
6
- switch to tab indentation
7
+ - add swap-window bindings
7
8
8
9
### v0.0.2, 2014-06-03
9
10
- split-window bindings "|" and "-" now create a new pane with the same path as
Original file line number Diff line number Diff line change @@ -60,6 +60,11 @@ Newly created pane always has the same path as the original pane.
60
60
61
61
<br /><br /><br /><br /><br />
62
62
63
+ ** Swapping windows**
64
+
65
+ - ` prefix + alt + h ` - moves current window one position to the left
66
+ - ` prefix + alt + l ` - moves current window one position to the right
67
+
63
68
### Installation with [ Tmux Plugin Manager] ( https://github.com/tmux-plugins/tpm ) (recommended)
64
69
65
70
Add plugin to the list of TPM plugins in ` .tmux.conf ` :
Original file line number Diff line number Diff line change @@ -26,6 +26,11 @@ pane_navigation_bindings() {
26
26
tmux bind-key C-l select-pane -R
27
27
}
28
28
29
+ 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
32
+ }
33
+
29
34
pane_resizing_bindings () {
30
35
local pane_resize=$( get_tmux_option " @pane_resize" " $default_pane_resize " )
31
36
tmux bind-key -r H resize-pane -L " $pane_resize "
You can’t perform that action at this time.
0 commit comments