helix-mirror/book
Michael Davis 9c108b5486
Support bindings with the Super (Cmd/Win/Meta) modifier
Terminals which support the enhanced keyboard protocol send events for
keys pressed with the Super modifier (Windows/Linux key or the Command
key). The only changes that are needed to support this in Helix are:

* Mapping the modifier from crossterm's KeyModifiers to Helix's
  KeyModifiers.
* Representing and parsing the modifier from the KeyEvent text
  representation.
* Documenting the ability to remap it.

When writing keybindings, use 'Meta-', 'Cmd-' or 'Win-' which are all
synonymous. For example:

    [keys.normal]
    Cmd-s = ":write"

will trigger for the Windows or Linux keys and the Command key plus 's'.
2024-07-06 10:49:27 -04:00
..
src Support bindings with the Super (Cmd/Win/Meta) modifier 2024-07-06 10:49:27 -04:00
theme update with new mdbook index.hbs (#8445) 2023-10-03 10:17:32 +09:00
.gitignore Add book/ (mdbook based user guide) 2021-04-05 15:48:08 +09:00
book.toml use AND operator when searching (#7839) 2023-08-08 15:22:52 +02:00
custom.css Fix search highlighting for the default docs theme (#8270) 2023-09-13 16:37:39 +02:00