From 7d75dbbdda237f0d7551d47a903cd04a58b29d42 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Tue, 19 Jan 2010 21:27:47 +0000 Subject: 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. --- tmux.1 | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'tmux.1') 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 -- cgit