#
d8b32369 |
| 27-Aug-2021 |
nicm <nicm@openbsd.org> |
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 iss
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.
show more ...
|
#
1e1971d6 |
| 25-Aug-2021 |
nicm <nicm@openbsd.org> |
bind-key needs to allow commands for any argument for the moment.
|
#
e4c0b811 |
| 25-Aug-2021 |
nicm <nicm@openbsd.org> |
Validate command argument types (string or command list) and give more useful error messages.
|
#
f16b02c6 |
| 23-Aug-2021 |
nicm <nicm@openbsd.org> |
Key bindings steal a reference to the command instead of adding their own, it was correct not to add a reference when parsing, but the bind-key then needs to add one.
|
#
bee784fa |
| 21-Aug-2021 |
nicm <nicm@openbsd.org> |
Preserve argument type in command and convert to string on demand.
|
#
afdf680f |
| 21-Aug-2021 |
nicm <nicm@openbsd.org> |
Stop caring about empty commands, just treat as a null command.
|
#
a51dead1 |
| 21-Aug-2021 |
nicm <nicm@openbsd.org> |
Add args parsing callback for some future work, currently unused.
|
#
1693b10b |
| 20-Aug-2021 |
nicm <nicm@openbsd.org> |
Hide struct args behind a couple of accessor functions.
|
#
fe40fd41 |
| 08-Sep-2020 |
nicm <nicm@openbsd.org> |
Allow -N without a command to change or add a note to an existing key.
|
#
90d7ba38 |
| 13-Apr-2020 |
nicm <nicm@openbsd.org> |
Make struct cmd local to cmd.c and move it out of tmux.h.
|
#
2abf6ada |
| 30-Jan-2020 |
nicm <nicm@openbsd.org> |
Remove bind-key -c which doesn't do anything and is undocumented.
|
#
c8877404 |
| 27-Jan-2020 |
nicm <nicm@openbsd.org> |
Add support for adding a note to a key binding (with bind-key -N) and use this to add descriptions to the default key bindings. A new -N flag to list-keys shows key bindings with notes rather than th
Add support for adding a note to a key binding (with bind-key -N) and use this to add descriptions to the default key bindings. A new -N flag to list-keys shows key bindings with notes rather than the default bind-key command used to create them. Change the default ? binding to use this to show a readable summary of keys.
Also extend command-prompt to return the name of the key pressed and add a default binding (/) to show the note for the next key pressed
Suggested by Alex Tremblay in GitHub issue 2000.
show more ...
|
#
1c947278 |
| 27-May-2019 |
nicm <nicm@openbsd.org> |
Add an additional {} syntax for defining strings in the configuration file, making it much tidier to define commands that contain other tmux or shell commands (like if-shell). Also tweak bind-key to
Add an additional {} syntax for defining strings in the configuration file, making it much tidier to define commands that contain other tmux or shell commands (like if-shell). Also tweak bind-key to expect a string if it is only given one argument, so {} can be used with it as well. From Avi Halachmi.
show more ...
|
#
a6afde38 |
| 25-May-2019 |
nicm <nicm@openbsd.org> |
Merge cmd_list_parse into cmd-parse.y so it can use the new alias processing code.
|
#
b5d258bb |
| 24-Jan-2017 |
nicm <nicm@openbsd.org> |
Fixed keys for choose mode, and remove the last mode keys bits.
|
#
68e0a7f2 |
| 16-Oct-2016 |
nicm <nicm@openbsd.org> |
Mass rename struct cmd_q to struct cmdq_item and related.
|
#
7a61a8dd |
| 14-Oct-2016 |
nicm <nicm@openbsd.org> |
Add CMD_AFTERHOOK flag to the easy commands that don't need any special handling.
|
#
ce3f476a |
| 12-Oct-2016 |
nicm <nicm@openbsd.org> |
Drop the edit mode key tables and just use fixed key bindings for the command prompt.
|
#
576538d5 |
| 11-Oct-2016 |
nicm <nicm@openbsd.org> |
Fundamental change to how copy mode key bindings work:
The vi-copy and emacs-copy mode key tables are gone, and instead copy mode commands are bound in one of two normal key tables ("copy-mode" or "
Fundamental change to how copy mode key bindings work:
The vi-copy and emacs-copy mode key tables are gone, and instead copy mode commands are bound in one of two normal key tables ("copy-mode" or "copy-mode-vi"). Keys are bound to "send-keys -X copy-mode-command". So:
bind -temacs-copy C-Up scroll-up bind -temacs-copy -R5 WheelUpPane scroll-up
Becomes:
bind -Tcopy-mode C-Up send -X scroll-up bind -Tcopy-mode WheelUpPane send -N5 -X scroll-up
This allows the full command parser and command set to be used - for example, we can use the normal command prompt for searching, jumping, and so on instead of a custom one:
bind -Tcopy-mode C-r command-prompt -p'search up' "send -X search-backward '%%'"
command-prompt also gets a -1 option to only require on key press, which is needed for jumping.
The plan is to get rid of mode keys entirely, so more to come eventually.
show more ...
|
#
dc1f0f5f |
| 10-Oct-2016 |
nicm <nicm@openbsd.org> |
Add static in cmd-* and fix a few other nits.
|
#
26ddb2f5 |
| 12-Sep-2016 |
nicm <nicm@openbsd.org> |
Allow repeat count to be specified in mode key tables with bind-key -R, and set the default repeat count to 5 for WheelUp and WheelDown in copy-mode.
|
#
98ca8272 |
| 19-Jan-2016 |
nicm <nicm@openbsd.org> |
I no longer use my SourceForge address so replace it.
|
#
c057646b |
| 13-Dec-2015 |
nicm <nicm@openbsd.org> |
Use member names in cmd_entry definitions so I stop getting confused about the order.
|
#
0bd9fd8f |
| 12-Dec-2015 |
nicm <nicm@openbsd.org> |
Allow prefix and prefix2 to be set to None to disable (useful if you would rather bind the prefix in the root table).
|
#
885a4698 |
| 12-Nov-2015 |
nicm <nicm@openbsd.org> |
Support UTF-8 key bindings by expanding the key type from int to uint64_t and converting UTF-8 to Unicode on input and the reverse on output. (This allows key bindings, there are still omissions - th
Support UTF-8 key bindings by expanding the key type from int to uint64_t and converting UTF-8 to Unicode on input and the reverse on output. (This allows key bindings, there are still omissions - the largest being that the various prompts do not accept UTF-8.)
show more ...
|