From 386849edc1d7d322d6a48d334f83298ff7cb5501 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Mon, 21 Jun 2010 01:46:36 +0000 Subject: Extend the -t:+ and -t:- window targets for next and previous window to accept an offset such as -t:+2. From Tiago Cunha. --- tmux.1 | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'tmux.1') 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 -- cgit