summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Cady <d@jerkface.net>2017-03-09 12:26:51 -0500
committerAndrew Cady <d@jerkface.net>2017-03-09 12:26:51 -0500
commitb7aa0e075988858a721a01ff09f9b090177b2200 (patch)
treec919c505aa26686183570b4f1b377c31e7c75a25
parent5dc6e09c6c7742d9f0e6e580ef3b991ae47b0c48 (diff)
tmux: keybindings to reorder windows
-rw-r--r--dot/tmux.stage2.conf6
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
9set -g prefix C-z 9set -g prefix C-z
10bind z send-prefix 10bind z send-prefix
11 11
12# this is the best way to reorder windows
13bind-key -n C-S-Left swap-window -t -1
14bind-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
13bind-key C-n next-window 17bind-key C-n next-window
18bind-key Space next-window
19bind-key C-Space next-window
14bind-key C-p previous-window 20bind-key C-p previous-window
15bind-key C-z last-window 21bind-key C-z last-window
16bind-key C-c new-window 22bind-key C-c new-window