summaryrefslogtreecommitdiffstats
path: root/tmux.1
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2010-06-21 01:46:36 +0000
committerNicholas Marriott <nicm@openbsd.org>2010-06-21 01:46:36 +0000
commit386849edc1d7d322d6a48d334f83298ff7cb5501 (patch)
tree2c0daf4ce5703466ef3f53333fd87e2a689dc33b /tmux.1
parente63f0546a166c442464c7d8500a74b38c036432a (diff)
Extend the -t:+ and -t:- window targets for next and previous window to
accept an offset such as -t:+2. From Tiago Cunha.
Diffstat (limited to 'tmux.1')
-rw-r--r--tmux.112
1 files changed, 12 insertions, 0 deletions
diff --git a/tmux.1 b/tmux.1
index c7c88ddf..30725f6e 100644
--- a/tmux.1
+++ b/tmux.1
@@ -428,6 +428,18 @@ One of the strings
.Em bottom-right
may be used instead of a pane index.
.Pp
+The special characters
+.Ql +
+and
+.Ql -
+may be followed by an offset, for example:
+.Bd -literal -offset indent
+select-window -t:+2
+.Ed
+.Pp
+When dealing with a session that doesn't contain sequential window indexes,
+they will be correctly skipped.
+.Pp
.Ar shell-command
arguments are
.Xr sh 1