diff options
author | Andrew Cady <d@jerkface.net> | 2017-03-09 12:26:51 -0500 |
---|---|---|
committer | Andrew Cady <d@jerkface.net> | 2017-03-09 12:26:51 -0500 |
commit | b7aa0e075988858a721a01ff09f9b090177b2200 (patch) | |
tree | c919c505aa26686183570b4f1b377c31e7c75a25 /dot | |
parent | 5dc6e09c6c7742d9f0e6e580ef3b991ae47b0c48 (diff) |
tmux: keybindings to reorder windows
Diffstat (limited to 'dot')
-rw-r--r-- | dot/tmux.stage2.conf | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/dot/tmux.stage2.conf b/dot/tmux.stage2.conf index 915b203..495a7ea 100644 --- a/dot/tmux.stage2.conf +++ b/dot/tmux.stage2.conf | |||
@@ -9,8 +9,14 @@ unbind C-b | |||
9 | set -g prefix C-z | 9 | set -g prefix C-z |
10 | bind z send-prefix | 10 | bind z send-prefix |
11 | 11 | ||
12 | # this is the best way to reorder windows | ||
13 | bind-key -n C-S-Left swap-window -t -1 | ||
14 | bind-key -n C-S-Right swap-window -t +1 | ||
15 | |||
12 | # redundantly bind some frequent commands so that the Control key does not have to be released | 16 | # redundantly bind some frequent commands so that the Control key does not have to be released |
13 | bind-key C-n next-window | 17 | bind-key C-n next-window |
18 | bind-key Space next-window | ||
19 | bind-key C-Space next-window | ||
14 | bind-key C-p previous-window | 20 | bind-key C-p previous-window |
15 | bind-key C-z last-window | 21 | bind-key C-z last-window |
16 | bind-key C-c new-window | 22 | bind-key C-c new-window |