Michael Grant
ac01f15bfe
Merge branch 'master' into feature-floating-window-panes
2025-12-06 21:14:38 +00:00
nicm
987e05ff31
Allow drag in alternate screen again, GitHub issue 4743 reported by Brad
...
King.
2025-12-04 22:50:34 +00:00
Michael Grant
315202b007
Merge branch 'tmux:master' into feature-floating-window-panes
2025-11-14 09:29:06 +00:00
Michael Grant
3bb4f72a4b
Add new key binding ctrl-b * to create new floating pane. New panes created at increasing offsets.
2025-11-07 12:25:59 +01:00
Michael Grant
329e9d54ab
Add support for clicking on a floating pane border to make it active. Including bugfix to click bottom border of floating panes.
2025-11-07 11:43:41 +01:00
nicm
1a419609e3
Don't enter copy mode on mouse wheel in alternate screen, GitHub issue 3705.
2025-10-29 09:33:20 +00:00
nicm
0c5abfefd3
Add commands to centre the cursor in copy mode, from m-einfalt at gmx
...
dot de in GitHub issue 4662.
2025-10-28 16:36:52 +00:00
nicm
1370791734
Add a nicer default second and third status line, from Michael Grant in
...
GitHub 4490.
2025-08-14 07:15:40 +00:00
nicm
5db914b745
Add notes to menu keys, from someone in GitHub issue 4478.
2025-04-22 12:34:56 +00:00
nicm
713cacab1e
Mouse support on the scrollbars, from Michael Grant.
2024-11-12 09:32:56 +00:00
nicm
9f2a853d87
Rework of copy mode commands ("send-keys -X") to parse the arguments so
...
that flags may be detected propertly rather than just looking for
strings ("-O" and so on). Also add -C and -P flags to the copy commands:
-C prevents the commands from sending the text to the clipboard and -P
prevents them from adding the text as a paste buffer.
Note some of the default key bindings change to add "--" and any similar
custom key bindings using "send-keys -X" may need a similar change.
GitHub issue 4153.
2024-10-04 07:03:08 +00:00
nicm
06292baadc
Add mirrored versions of the main-horizontal and main-vertical layouts where
...
the main pane is bottom or right instead of top or left, from Sherwyn Sen.
2024-08-21 05:03:13 +00:00
nicm
d9942c769e
Add meta bindings for status line menus as well as the existing pane one
...
for terminals which steal the mouse menu button.
2023-08-15 09:51:48 +00:00
nicm
993e7a937f
Tweak note for D key binding, from Clark Wang.
2023-02-02 09:06:44 +00:00
nicm
416c27c995
Add scroll-middle copy mode command to make cursor line in the middle,
...
from Varun Kumar E in GitHub issue 3307.
2022-08-23 08:14:19 +00:00
nicm
497021d0db
Add some const, from Markus F X J Oberhumer.
2022-08-15 08:41:13 +00:00
nicm
e139f977b1
vi(1) Home/End bindings, from Markus F X J Oberhumer.
2022-08-11 09:11:26 +00:00
nicm
d0d2c39dec
Support hyperlinks with capture-pane -e and add a mouse_hyperlink
...
format, GitHub issue 3247 from Jeff Chiang.
2022-07-06 07:36:36 +00:00
nicm
5080acc127
Add a key in copy mode to toggle position indicator.
2022-02-03 07:26:43 +00:00
nicm
daec63e5e6
Replace %% in command lists (by copying them) for template arguments ,
...
this means they can be used with {} as well. Also make argument
processing from an existing vector preserve commands. GitHub issue 2858.
2021-08-27 17:25:55 +00:00
nicm
03d173cbd8
Validate command argument types (string or command list) and give more
...
useful error messages.
2021-08-25 08:51:55 +00:00
nicm
4a753dbefc
Fix a few memory leaks.
2021-08-23 11:04:21 +00:00
nicm
63b6eec278
Use new syntax for default key bindings.
2021-08-21 17:41:19 +00:00
nicm
01fd4b997e
Add pipe variants of the line copy commands. While here make the command
...
list less unreadable. GitHub issue 2813.
2021-08-11 20:35:46 +00:00
nicm
be5988457f
Change copy-line and copy-end-of-line not to cancel and add -and-cancel
...
variants, like the other copy commands. GitHub issue 2799.
2021-08-09 13:08:08 +00:00
nicm
1bbdd2aba2
Add -F for command-prompt and use it to fix "Rename" on the window menu,
...
GitHub issue 2699.
2021-06-10 07:52:56 +00:00
nicm
866117636e
Add different command historys for different types of prompts
...
("command", "search" etc). From Anindya Mukherjee.
2021-06-10 07:50:03 +00:00
nicm
e5106bfb96
Add another couple of keys needed for extended keys, GitHub issue 2658.
...
Handle modifier 9 as Meta, GitHub issue 2647.
2021-06-10 07:21:09 +00:00
nicm
4c8706d399
Fix note for "previous-window" default key binding, from Sebastian
...
Falbesoner.
2020-10-13 10:15:23 +00:00
nicm
1fed7e84a3
Allow -N without a command to change or add a note to an existing key.
2020-09-08 10:19:19 +00:00
nicm
1bf9555e4f
d and D keys to reset to default in customize mode.
2020-06-16 08:18:34 +00:00
nicm
3f6af4156f
Make paste -p the default for ], GitHub issue 2248.
2020-06-03 16:35:40 +00:00
nicm
6bde1c1837
Fix a couple more places where the key flags need to be masked off.
2020-05-20 07:11:45 +00:00
nicm
292b335ca5
Separate key flags and modifiers, log key flags, make the "xterm" flag
...
more explicit and fix M- keys with a leading escape.
2020-05-16 16:35:13 +00:00
nicm
ff8dd150e0
Add a mark in copy mode. Set with set-mark command (bound to 'X') by
...
default and the mark and cursor position are swapped with 'jump-to-mark'
(bound to M-x). The line containing the mark is shown in
copy-mode-mark-style with the horizontal position in reverse.
From Anindya Mukherjee in GitHub issue 2209.
2020-05-16 16:10:28 +00:00
nicm
d67245c734
Add a customize mode where keys and options may be browsed and changed,
...
includes adding a brief description of each option. Bound to "C" by
default.
2020-05-16 16:02:24 +00:00
nicm
463864f5a2
Add -W and -T flags to command-prompt to only complete a window and a
...
target, also complete aliases.
2020-05-16 15:16:36 +00:00
nicm
5aba26f2cb
Add a copy-command option and change copy-pipe and friends to pipe to it
...
if used without arguments, allows all copy key bindings to be changed to
pipe with one option.
2020-04-17 08:03:22 +00:00
nicm
3f86d6d460
When adding a list of commands to the queue, instead of automatically
...
creating a new state for each group of commands, require the caller to
create one and use it for all the commands in the list. This means the
current target works even with list with multiple groups (which can
happen if they are defined with newlines).
2020-04-13 15:55:51 +00:00
nicm
adb76fd1ce
Move cmdq_state into cmd-queue.c.
2020-04-13 14:46:04 +00:00
nicm
9a65102bfc
Rename cmdq_shared to cmdq_state which will better reflect what it is
...
(going to be) used for.
2020-04-13 14:04:25 +00:00
nicm
04cdd03525
Also move cmdq_item and cmdq_list into cmd-queue.c (this is to make its
...
use more clearly defined and preparation for some future work).
2020-04-13 10:59:58 +00:00
nicm
c20eb0c0ae
Make struct cmd local to cmd.c and move it out of tmux.h.
2020-04-13 08:26:27 +00:00
nicm
77b827f879
Change copy mode to make copy of the pane history so it does not need to
...
freeze updates (which does not play nicely with some applications, a
longstanding problem) and will allow some other changes later. From
Anindya Mukherjee.
2020-04-06 17:51:34 +00:00
nicm
90f4e149c1
Add a W position to display-menu -y to use the line above (or below) the
...
status line containing the window list. Leave S meaning above (or below)
all status lines. GitHub issue 2145.
2020-04-02 05:35:15 +00:00
nicm
1a4e64ba69
Apply same menu items to view mode like copy mode.
2020-03-20 18:35:53 +00:00
nicm
7c25f22074
Similarly, disable zoom if only one pane.
2020-03-20 18:22:37 +00:00
nicm
b66501df0c
Put swap down back in the right place.
2020-03-20 18:20:58 +00:00
nicm
4d6805284b
Disable swap entries if nothing to swap with.
2020-03-20 18:19:22 +00:00
nicm
68cf61aa46
Still want the per-mode menus outside copy mode.
2020-03-20 18:11:56 +00:00