helix-mirror/book
Michael Davis 271c32f2e6
Support bindings with the Super (Cmd/Win/Meta) modifier (#6592)
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-12-08 12:35:14 +09:00
..
src Support bindings with the Super (Cmd/Win/Meta) modifier (#6592) 2024-12-08 12:35:14 +09:00
theme book: Copy over index.hbs from mdbook 0.4.43 2024-11-25 17:53:13 -05: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