Add {current}/{active} for -t for current window or active pane, from

Manuel Einfalt in GitHub issue 4766.
This commit is contained in:
nicm
2025-12-22 08:35:04 +00:00
parent 74f60951cc
commit 188f963fe0
3 changed files with 19 additions and 0 deletions

2
tmux.1
View File

@@ -839,6 +839,7 @@ Each has a single-character alternative form.
.It Li "{last}" Ta "!" Ta "The last (previously current) window"
.It Li "{next}" Ta "+" Ta "The next window by number"
.It Li "{previous}" Ta "-" Ta "The previous window by number"
.It Li "{current}" Ta "@" Ta "The current window"
.El
.Pp
.Ar target-pane
@@ -871,6 +872,7 @@ The following special tokens are available for the pane index:
.It Li "{down-of}" Ta "" Ta "The pane below the active pane"
.It Li "{left-of}" Ta "" Ta "The pane to the left of the active pane"
.It Li "{right-of}" Ta "" Ta "The pane to the right of the active pane"
.It Li "{active}" Ta "@" Ta "The active pane"
.El
.Pp
The tokens