aboutsummaryrefslogtreecommitdiff
path: root/tmux.1
diff options
context:
space:
mode:
authornicm <nicm>2017-02-09 15:04:53 +0000
committernicm <nicm>2017-02-09 15:04:53 +0000
commitc6a3446398648fc2cc3682c351b57b9bfe5bc5f0 (patch)
tree7bd0ac8c644eb3037e1fd9633e6a1ad517fa3d01 /tmux.1
parent8de4c15dfa9d15d259d295b6f2e121c980082c79 (diff)
downloadrtmux-c6a3446398648fc2cc3682c351b57b9bfe5bc5f0.tar.gz
rtmux-c6a3446398648fc2cc3682c351b57b9bfe5bc5f0.tar.bz2
rtmux-c6a3446398648fc2cc3682c351b57b9bfe5bc5f0.zip
Instead of numbering session groups, give them a name which may be given
to -t instead of a target session. Also allow them to contain only one session.
Diffstat (limited to 'tmux.1')
-rw-r--r--tmux.133
1 files changed, 22 insertions, 11 deletions
diff --git a/tmux.1 b/tmux.1
index a712519d..d4f5a891 100644
--- a/tmux.1
+++ b/tmux.1
@@ -812,7 +812,7 @@ Lock all clients attached to
.Op Fl F Ar format
.Op Fl n Ar window-name
.Op Fl s Ar session-name
-.Op Fl t Ar target-session
+.Op Fl t Ar group-name
.Op Fl x Ar width
.Op Fl y Ar height
.Op Ar shell-command
@@ -857,16 +857,27 @@ to
.Pp
If
.Fl t
-is given, the new session is
-.Em grouped
-with
-.Ar target-session .
-This means they share the same set of windows - all windows from
-.Ar target-session
-are linked to the new session, any new windows are linked to both sessions and
-any windows closed removed from both sessions.
+is given, it specifies a
+.Ic session group .
+Sessions in the same group share the same set of windows - new windows are
+linked to all sessions in the grouo and any windows closed removed from all
+sessions.
The current and previous window and any session options remain independent and
-either session may be killed without affecting the other.
+any session in a group may be killed without affecting the others.
+The
+.Ar group-name
+argument may be:
+.Bl -enum -width Ds
+.It
+the name of an existing group, in which case the new session is added to that
+group;
+.It
+the name of an existing session - the new session is added to the same group
+as that session, creating a new group if necessary;
+.It
+the name for a new group containing only the new session.
+.El
+.Pp
.Fl n
and
.Ar shell-command
@@ -3562,7 +3573,7 @@ The following variables are available, where appropriate:
.It Li "session_activity" Ta "" Ta "Integer time of session last activity"
.It Li "session_created" Ta "" Ta "Integer time session created"
.It Li "session_last_attached" Ta "" Ta "Integer time session last attached"
-.It Li "session_group" Ta "" Ta "Number of session group"
+.It Li "session_group" Ta "" Ta "Name of session group"
.It Li "session_grouped" Ta "" Ta "1 if session in a group"
.It Li "session_height" Ta "" Ta "Height of session"
.It Li "session_id" Ta "" Ta "Unique session ID"