From cd9ccbc1e98b48fd8bfb64356664313a8eb1f7b0 Mon Sep 17 00:00:00 2001 From: nicm Date: Wed, 11 Mar 2015 08:17:37 +0000 Subject: set-titles-string now uses formats, not the status bits (so no #() for now). Reported by landry. --- tmux.1 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tmux.1') diff --git a/tmux.1 b/tmux.1 index ca7d392a..7052484c 100644 --- a/tmux.1 +++ b/tmux.1 @@ -2499,9 +2499,9 @@ variable is set. String used to set the window title if .Ic set-titles is on. -Character sequences are replaced as for the -.Ic status-left -option. +Formats are expanded, see the +.Sx FORMATS +section. .It Xo Ic status .Op Ic on | off .Xc -- cgit From 3aa72b42b2a317b0ae531219d269f2a636d6482a Mon Sep 17 00:00:00 2001 From: nicm Date: Tue, 31 Mar 2015 17:58:36 +0000 Subject: Add a helper function to convert time, and add session_activity formats (the latter from Takatoshi Matsumoto). --- tmux.1 | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tmux.1') diff --git a/tmux.1 b/tmux.1 index 7052484c..c8fab92c 100644 --- a/tmux.1 +++ b/tmux.1 @@ -3148,6 +3148,8 @@ The following variables are available, where appropriate: .It Li "scroll_region_lower" Ta "" Ta "Bottom of scroll region in pane" .It Li "scroll_region_upper" Ta "" Ta "Top of scroll region in pane" .It Li "session_attached" Ta "" Ta "Number of clients session is attached to" +.It Li "session_activity" Ta "" Ta "Integer time of session last activity" +.It Li "session_activity_string" Ta "" Ta "String time of session last activity" .It Li "session_created" Ta "" Ta "Integer time session created" .It Li "session_created_string" Ta "" Ta "String time session created" .It Li "session_group" Ta "" Ta "Number of session group" -- cgit From 009a5e4213a04555be0fb654f80fe8685082ba20 Mon Sep 17 00:00:00 2001 From: nicm Date: Fri, 10 Apr 2015 07:23:14 +0000 Subject: in the case -> in this case. --- tmux.1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tmux.1') diff --git a/tmux.1 b/tmux.1 index c8fab92c..2764626e 100644 --- a/tmux.1 +++ b/tmux.1 @@ -747,7 +747,7 @@ behave like .Ic attach-session if .Ar session-name -already exists; in the case, +already exists; in this case, .Fl D behaves like .Fl d -- cgit From 0cd55eb1e7823a75810b7f43f53b6266cb8b0bc0 Mon Sep 17 00:00:00 2001 From: nicm Date: Fri, 10 Apr 2015 16:00:08 +0000 Subject: Add a -x flag to copy-selection, append-selection and start-named-buffer to prevent it exiting copy mode after copying. From J Raynor with a few tweaks by me. --- tmux.1 | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) (limited to 'tmux.1') diff --git a/tmux.1 b/tmux.1 index 2764626e..abdeba54 100644 --- a/tmux.1 +++ b/tmux.1 @@ -987,15 +987,27 @@ command and keys modified or removed with .Ic bind-key and .Ic unbind-key . -One command accepts an argument, -.Ic copy-pipe , -which copies the selection and pipes it to a command. +If +.Ic append-selection , +.Ic copy-selection , +or +.Ic start-named-buffer +are given the +.Fl x +flag, +.Nm +will not exit copy mode after copying. +.Ic copy-pipe +copies the selection and pipes it to a command. For example the following will bind +.Ql C-w +not to exit after copying and .Ql C-q to copy the selection into .Pa /tmp as well as the paste buffer: .Bd -literal -offset indent +bind-key -temacs-copy C-w copy-selection -x bind-key -temacs-copy C-q copy-pipe "cat >/tmp/out" .Ed .Pp -- cgit