aboutsummaryrefslogtreecommitdiff
path: root/tmux.1
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2010-01-19 21:27:47 +0000
committerNicholas Marriott <nicm@openbsd.org>2010-01-19 21:27:47 +0000
commit7d75dbbdda237f0d7551d47a903cd04a58b29d42 (patch)
treed07453999e89a6e2f407045c3a6f29619aede8fd /tmux.1
parentf569950664b79b1a3fff2382f9bec218a476c53b (diff)
downloadrtmux-7d75dbbdda237f0d7551d47a903cd04a58b29d42.tar.gz
rtmux-7d75dbbdda237f0d7551d47a903cd04a58b29d42.tar.bz2
rtmux-7d75dbbdda237f0d7551d47a903cd04a58b29d42.zip
Permit !, + and - to be used for window targets to specify last window (!), or
next and previous window by number (+ and -). Also tidy an if in cmd-new-window.c.
Diffstat (limited to 'tmux.1')
-rw-r--r--tmux.17
1 files changed, 7 insertions, 0 deletions
diff --git a/tmux.1 b/tmux.1
index 409b6bb0..befc0cc8 100644
--- a/tmux.1
+++ b/tmux.1
@@ -307,6 +307,13 @@ commands)
otherwise the current window in
.Em session
is chosen.
+The special character
+.Ql \&!
+uses the last (previously current) window, or
+.Ql +
+and
+.Ql -
+are the next window or the previous window by number.
When the argument does not contain a colon,
.Nm
first attempts to parse it as window; if that fails, an attempt is made to