Hotkeys to select windows numbered higher than 9.
authorIain Patterson <me@iain.cx>
Sun, 7 Aug 2011 08:52:29 +0000 (09:52 +0100)
committerIain Patterson <me@iain.cx>
Thu, 25 Aug 2011 10:05:33 +0000 (11:05 +0100)
Use Meta-n to select window n+10.

.tmux.conf

index d69c31f..dd5202a 100644 (file)
@@ -86,6 +86,16 @@ bind , select-layout tiled
 bind / select-layout even-vertical \; swap-pane -s top \; resize-pane -D 9999
 # Select windows.
 bind - choose-window
 bind / select-layout even-vertical \; swap-pane -s top \; resize-pane -D 9999
 # Select windows.
 bind - choose-window
+bind M-0 select-window -t 10
+bind M-1 select-window -t 11
+bind M-2 select-window -t 12
+bind M-3 select-window -t 13
+bind M-4 select-window -t 14
+bind M-5 select-window -t 15
+bind M-6 select-window -t 16
+bind M-7 select-window -t 17
+bind M-8 select-window -t 18
+bind M-9 select-window -t 19
 # Set current window title.
 bind t command-prompt -p "Set window's title to:" 'rename-window %1'
 # Show clock.
 # Set current window title.
 bind t command-prompt -p "Set window's title to:" 'rename-window %1'
 # Show clock.