aboutsummaryrefslogtreecommitdiff
path: root/tmux.1
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2015-06-04 12:59:41 +0100
committerThomas Adam <thomas@xteddy.org>2015-06-04 12:59:41 +0100
commit02e348c069b9f49b44344281276b81fe537b3c8b (patch)
tree889ef55ab3da4ba5e3a8fe6aa7c3cb5708cdd724 /tmux.1
parent1de74e27e535b3e294c265974973a7743c8374a0 (diff)
parenta863834574ec02b87ff0e7245ef31f0d4543ab34 (diff)
downloadrtmux-02e348c069b9f49b44344281276b81fe537b3c8b.tar.gz
rtmux-02e348c069b9f49b44344281276b81fe537b3c8b.tar.bz2
rtmux-02e348c069b9f49b44344281276b81fe537b3c8b.zip
Merge branch 'obsd-master'
Diffstat (limited to 'tmux.1')
-rw-r--r--tmux.171
1 files changed, 68 insertions, 3 deletions
diff --git a/tmux.1 b/tmux.1
index 7b538ddb..11fe6b7e 100644
--- a/tmux.1
+++ b/tmux.1
@@ -302,6 +302,12 @@ Change to the previous window.
Briefly display pane indexes.
.It r
Force redraw of the attached client.
+.It m
+Mark the current pane (see
+.Ic select-pane
+.Fl m ) .
+.It M
+Clear the marked pane.
.It s
Select a new session for the attached client interactively.
.It t
@@ -355,6 +361,8 @@ This section contains a list of the commands supported by
.Nm .
Most commands accept the optional
.Fl t
+(and sometimes
+.Fl s )
argument with one of
.Ar target-client ,
.Ar target-session
@@ -455,7 +463,6 @@ 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 "{mouse}" Ta "=" Ta "The window where the mouse event happened"
.El
.Pp
.Ar target-pane
@@ -485,7 +492,6 @@ The following special tokens are available for the pane index:
.It Li "{down}" Ta "" Ta "The pane below the active pane"
.It Li "{left}" Ta "" Ta "The pane to the left of the active pane"
.It Li "{right}" Ta "" Ta "The pane to the right of the active pane"
-.It Li "{mouse}" Ta "=" Ta "The pane where the mouse event happened"
.El
.Pp
The tokens
@@ -497,6 +503,27 @@ may be followed by an offset, for example:
select-window -t:+2
.Ed
.Pp
+In addition,
+.Em target-session ,
+.Em target-window
+or
+.Em target-pane
+may consist entirely of the token
+.Ql {mouse}
+(alternative form
+.Ql = )
+to specify the most recent mouse event
+(see the
+.Sx MOUSE SUPPORT
+section)
+or
+.Ql {marked}
+(alternative form
+.Ql ~ )
+to specify the marked pane (see
+.Ic select-pane
+.Fl m ) .
+.Pp
Sessions, window and panes are each numbered with a unique ID; session IDs are
prefixed with a
.Ql $ ,
@@ -1444,6 +1471,13 @@ option causes
.Ar src-pane
to be joined to left of or above
.Ar dst-pane .
+.Pp
+If
+.Fl s
+is omitted and a marked pane is present (see
+.Ic select-pane
+.Fl m ) ,
+the marked pane is used rather than the current pane.
.It Xo Ic kill-pane
.Op Fl a
.Op Fl t Ar target-pane
@@ -1799,7 +1833,7 @@ commands.
.Fl o
applies the last set layout if possible (undoes the most recent layout change).
.It Xo Ic select-pane
-.Op Fl DdegLlRU
+.Op Fl DdegLlMmRU
.Op Fl P Ar style
.Op Fl t Ar target-pane
.Xc
@@ -1827,6 +1861,20 @@ enables or
.Fl d
disables input to the pane.
.Pp
+.Fl m
+and
+.Fl M
+are used to set and clear the
+.Em marked pane .
+There is one marked pane at a time, setting a new marked pane clears the last.
+The marked pane is the default target for
+.Fl s
+to
+.Ic join-pane ,
+.Ic swap-pane
+and
+.Ic swap-window .
+.Pp
Each pane has a style: by default the
.Ic window-style
and
@@ -1915,6 +1963,13 @@ swaps with the next pane (after it numerically).
instructs
.Nm
not to change the active pane.
+.Pp
+If
+.Fl s
+is omitted and a marked pane is present (see
+.Ic select-pane
+.Fl m ) ,
+the marked pane is used rather than the current pane.
.It Xo Ic swap-window
.Op Fl d
.Op Fl s Ar src-window
@@ -1926,6 +1981,15 @@ This is similar to
except the source and destination windows are swapped.
It is an error if no window exists at
.Ar src-window .
+.Pp
+Like
+.Ic swap-pane ,
+if
+.Fl s
+is omitted and a marked pane is present (see
+.Ic select-pane
+.Fl m ) ,
+the window containing the marked pane is used rather than the current window.
.It Xo Ic unlink-window
.Op Fl k
.Op Fl t Ar target-window
@@ -3493,6 +3557,7 @@ The flag is one of the following symbols appended to the window name:
.It Li "#" Ta "Window is monitored and activity has been detected."
.It Li "!" Ta "A bell has occurred in the window."
.It Li "~" Ta "The window has been silent for the monitor-silence interval."
+.It Li "M" Ta "The window contains the marked pane."
.It Li "Z" Ta "The window's active pane is zoomed."
.El
.Pp