mirror of
https://github.com/tmux/tmux.git
synced 2025-09-02 05:21:10 +00:00
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.
This commit is contained in:
7
tmux.1
7
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
|
||||
|
Reference in New Issue
Block a user