diff options
author | Kirill Chibisov <contact@kchibisov.com> | 2024-01-31 00:31:27 +0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-31 00:31:27 +0400 |
commit | c3b3746075051e5f9853f7ed0b8340adce2e51e3 (patch) | |
tree | 217632b4cb5b0759869c37879ead9defdc58d835 | |
parent | 38d63abd5f227fe639ee0f9f0e3f1cf4d6207e28 (diff) | |
download | alacritty-c3b3746075051e5f9853f7ed0b8340adce2e51e3.tar.gz alacritty-c3b3746075051e5f9853f7ed0b8340adce2e51e3.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. |