Nicholas Marriott
43656d4ea7
Sync up some tmux.1 bits.
2019-05-03 17:12:30 +01:00
Thomas Adam
fff85d854e
Merge branch 'obsd-master'
2019-05-03 17:04:11 +01:00
nicm
5d9e591ae8
Fix up some bits about window-size that seem to have got lost.
2019-05-02 20:12:40 +00:00
Thomas Adam
3ab229da70
Merge branch 'obsd-master'
2019-04-28 23:02:30 +01:00
nicm
c4b0da5513
Support multiple occurances of the same argument. Use this for a new
...
flag -e to new-window, split-window, respawn-window, respawn-pane to
pass environment variables into the newly created process. From Steffen
Christgau in GitHub issue 1697.
2019-04-28 20:05:50 +00:00
Thomas Adam
5489796737
Merge branch 'obsd-master'
2019-04-27 20:09:07 +01:00
nicm
dfb7bb6830
Merge hooks into options and make each one an array option. This allows
...
multiple commands to be easily bound to one hook. set-hook and
show-hooks remain but they are now variants of set-option and
show-options. show-options now has a -H flag to show hooks (by default
they are not shown).
2019-04-26 11:38:51 +00:00
Thomas Adam
f2c0605d6d
Merge branch 'obsd-master'
2019-04-25 17:02:37 +01:00
nicm
1677bb0dea
Need to escape ].
2019-04-25 15:35:07 +00:00
Thomas Adam
b0d7623b7e
Merge branch 'obsd-master'
2019-04-23 13:02:37 +01:00
nicm
564e44adc6
Add -no-clear variants of copy-selection and copy-pipe which do not
...
clear the selection after copying. Make copy-pipe clear the selection by
default to be consistent with copy-selection. From Avi Halachmi.
2019-04-23 09:39:07 +00:00
Thomas Adam
f980e868dd
Merge branch 'obsd-master'
2019-04-18 14:11:22 +01:00
nicm
5b9211d827
Copy the code to infer the option type to show-options and document it.
2019-04-18 12:22:07 +00:00
jmc
2219f7cc73
mark up punctuation-as-macro-args properly;
2019-04-17 16:34:35 +00:00
nicm
5943cd1907
Document that switch-client can change all of session,window,pane and
...
check for % in the target as well as ":.".
2019-04-17 14:39:37 +00:00
Thomas Adam
2546572e8e
Merge branch 'obsd-master'
2019-04-08 21:02:37 +01:00
nicm
835ccbac46
select-word was missing from the command list, from pawel-slowik.
2019-04-08 17:55:51 +00:00
Nicholas Marriott
b5b67c5386
Document that switch-client can change all of session,window,pane and check for
...
% in the target as well as ":.".
2019-04-08 10:38:50 +01:00
Thomas Adam
bfc1f0ca62
Merge branch 'obsd-master'
2019-04-02 11:02:44 +01:00
nicm
7bcc0d16f2
Add an argument to copy commands to set the prefix for the buffer name,
...
allows buffers for different sessions to be named separately.
2019-04-02 09:03:39 +00:00
Thomas Adam
6ac84585e6
Merge branch 'obsd-master'
2019-03-25 20:02:38 +00:00
nicm
d21f8ecc13
Add StatusDefault binding for the mouse on any otherwise unassigned
...
parts of the status line, from Avi Halachmi.
2019-03-25 18:59:55 +00:00
Thomas Adam
5e2150cf18
Merge branch 'obsd-master'
2019-03-25 16:00:36 +00:00
Thomas Adam
a07ad6b5a3
Merge branch 'obsd-master'
2019-03-25 15:57:47 +00:00
nicm
ff4d7d541f
Fix columns of cursor_character format in list.
2019-03-25 14:29:36 +00:00
nicm
b4a301f8fe
Clarify that styles can be space or comma separated, from Stephen Zapatka.
2019-03-22 10:45:17 +00:00
nicm
04a1fc9d36
I forgot to document resize-window, window-size and default-size;
...
reminded by okan@.
2019-03-22 09:33:04 +00:00
Thomas Adam
320237fdb8
Merge branch 'obsd-master'
2019-03-19 20:02:37 +00:00
nicm
161b57869e
Add a cursor_character format.
2019-03-19 19:01:50 +00:00
Thomas Adam
b3eebdec48
Merge branch 'obsd-master'
2019-03-19 14:02:36 +00:00
nicm
b24c9e34a9
Rename the first KEY BINDINGS section to DEFAULT KEY BINDINGS.
2019-03-19 13:35:42 +00:00
Thomas Adam
f956c17c09
Merge branch 'obsd-master'
2019-03-18 22:02:36 +00:00
Thomas Adam
962f255ee8
Merge branch 'obsd-master'
2019-03-18 21:24:49 +00:00
nicm
c62404673e
Add some bits to the STATUS LINE section about the new option.
2019-03-18 21:01:04 +00:00
nicm
979313832c
Extend the #[] style syntax and use that together with previous format
...
changes to allow the status line to be entirely configured with a single
option.
Now that it is possible to configure their content, enable the existing
code that lets the status line be multiple lines in height. The status
option can now take a value of 2, 3, 4 or 5 (as well as the previous on
or off) to configure more than one line. The new status-format array
option configures the format of each line, the default just references
the existing status-* options, although some of the more obscure status
options may be eliminated in time.
Additions to the #[] syntax are: "align" to specify alignment (left,
centre, right), "list" for the window list and "range" to configure
ranges of text for the mouse bindings.
The "align" keyword can also be used to specify alignment of entries in
tree mode and the pane status lines.
2019-03-18 20:53:33 +00:00
Thomas Adam
4cbf596dc5
Merge branch 'obsd-master'
2019-03-18 15:30:55 +00:00
Thomas Adam
acb2413852
Merge branch 'obsd-master'
2019-03-18 15:07:51 +00:00
nicm
2628af573d
Add format variables for the default formats for the various modes
...
(tree_mode_format and so on) and add a -a flag to display-message to
list variables with values.
2019-03-18 14:10:25 +00:00
nicm
bd3332b211
Break description of styles into its own section.
2019-03-17 19:33:12 +00:00
nicm
27578815da
Add a -v flag to display-message to show verbose messages as the format
...
is parsed, this gives the user a way to debug problems with formats
rather than just being confronted with (for example) a blank status
line.
2019-03-15 10:04:13 +00:00
Thomas Adam
2c755e3c55
Merge branch 'obsd-master'
2019-03-14 22:02:39 +00:00
nicm
4206bcc10e
Add format flags for start and end window.
2019-03-14 21:41:30 +00:00
nicm
38064e7593
Add T format modifier like E but also do strftime(3).
2019-03-14 21:31:43 +00:00
Thomas Adam
f33d2ab29e
Merge branch 'obsd-master'
2019-03-14 08:02:37 +00:00
nicm
1e9f8a3523
Missing space in capture-pane usage, from Ben Boeckel.
...
Also man page fixed from jmc.
2019-03-14 06:36:21 +00:00
Thomas Adam
e6fd429d58
Merge branch 'obsd-master'
2019-03-13 16:02:41 +00:00
nicm
95ab1aaaec
Add formats to list sessions, windows or panes.
2019-03-13 15:37:28 +00:00
nicm
9032ac2a05
Add E: format to expand a format twice (useful to expand the value of an
...
option).
2019-03-13 14:19:54 +00:00
Thomas Adam
c42e89a598
Merge branch 'obsd-master'
2019-02-06 08:02:37 +00:00
nicm
afd3127d89
Add -b to display-panes like run-shell, GitHub issue 1559.
2019-02-06 07:36:06 +00:00