diff options
author | Kirill Chibisov <contact@kchibisov.com> | 2024-01-31 00:31:27 +0400 |
---|---|---|
committer | Christian Duerr <contact@christianduerr.com> | 2024-03-19 02:20:53 +0100 |
commit | 0ae2673682f59818766f37107ef565bc4342c328 (patch) | |
tree | 73764c49b9cf2330fd039124be2f9fc15d8b66f4 | |
parent | 8860d00641dd12bee0eab8ac544e65db27dfbf79 (diff) | |
download | alacritty-0ae2673682f59818766f37107ef565bc4342c328.tar.gz alacritty-0ae2673682f59818766f37107ef565bc4342c328.zip |
Document `command` field in bindings
Closes #7594.
-rw-r--r-- | extra/man/alacritty.5.scd | 12 |
1 files 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* = [{ *<mouse>*, *<mods>*, *<mode>*, *<action>* | *<chars>* },] +*bindings* = [{ *<mouse>*, *<mods>*, *<mode>*, *<command>* | *<chars>* | *<action>* },] - 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* = [{ *<key>*, *<mods>*, *<mode>*, *<action>* | *<chars>* },] +*bindings* = [{ *<key>*, *<mods>*, *<mode>*, *<command>* | *<chars>* | *<action>* },] 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* = _"<string>"_ | { program = _"<string>"_, args = [_"<string>"_,] } + + Fork and execute the specified command. + *chars* = _"<string>"_ Writes the specified string to the terminal. |