From c3b3746075051e5f9853f7ed0b8340adce2e51e3 Mon Sep 17 00:00:00 2001 From: Kirill Chibisov Date: Wed, 31 Jan 2024 00:31:27 +0400 Subject: Document `command` field in bindings Closes #7594. --- extra/man/alacritty.5.scd | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/extra/man/alacritty.5.scd b/extra/man/alacritty.5.scd index 8786e5a4..d5f12554 100644 --- a/extra/man/alacritty.5.scd +++ b/extra/man/alacritty.5.scd @@ -609,10 +609,10 @@ This section documents the *[mouse]* table of the configuration file. Default: _false_ -*bindings* = [{ **, **, **, ** | ** },] +*bindings* = [{ **, **, **, ** | ** | ** },] - See _keyboard.bindings_ for full documentation on _mods_, _mode_, _action_, - and _chars_. + See _keyboard.bindings_ for full documentation on _mods_, _mode_, _command_, + _chars_, and _action_. When an application running within Alacritty captures the mouse, the `Shift` modifier can be used to suppress mouse reporting. If no action is found for @@ -721,7 +721,7 @@ regex = _"(ipfs:|ipns:|magnet:|mailto:|gemini://|gopher://|https://|http://|news This section documents the *[keyboard]* table of the configuration file. -*bindings* = [{ **, **, **, ** | ** },] +*bindings* = [{ **, **, **, ** | ** | ** },] To unset a default binding, you can use the action _"ReceiveChar"_ to remove it or _"None"_ to inhibit any action. @@ -760,6 +760,10 @@ _https://docs.rs/winit/latest/winit/keyboard/enum.Key.html#variant.Dead_ Multiple modes can be combined using _|_, like this: _"~Vi|Search"_. + *command* = _""_ | { program = _""_, args = [_""_,] } + + Fork and execute the specified command. + *chars* = _""_ Writes the specified string to the terminal. -- cgit v1.2.3-54-g00ecf