helix-mirror/book/src
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
..
generated Update Swift Grammar and Queries (#10802) 2024-06-07 12:29:42 -05:00
guides fix: update link in adding_languages.md (#10677) 2024-05-06 17:07:34 +02:00
building-from-source.md Improve the structure of the documentation (#10619) 2024-05-06 17:39:06 +02:00
commands.md Rewrite and refactor all documentation (#5534) 2023-03-06 18:27:17 +09:00
configuration.md Improve the structure of the documentation (#10619) 2024-05-06 17:39:06 +02:00
editor.md Auto Save All Buffers After A Delay (#10899) 2024-06-11 00:39:06 +02:00
from-vim.md Fix minor grammar issue in 'from-vim' docs (#6667) 2023-04-09 14:23:57 -05:00
install.md Improve the structure of the documentation (#10619) 2024-05-06 17:39:06 +02:00
keymap.md Fix multiple broken links in the documentation (#10953) 2024-06-18 10:43:36 +02:00
lang-support.md Update lang-support.md for new wiki page name (#10508) 2024-04-19 10:26:04 +09:00
languages.md Respect lsp definition order for code actions (#9590) 2024-04-09 09:28:54 -05:00
package-managers.md docs/src/package-managers: update nixos link to official wiki (#10718) 2024-05-10 06:43:07 +09:00
registers.md Improve the structure of the documentation (#10619) 2024-05-06 17:39:06 +02:00
remapping.md Support bindings with the Super (Cmd/Win/Meta) modifier 2024-07-06 10:49:27 -04:00
SUMMARY.md Improve the structure of the documentation (#10619) 2024-05-06 17:39:06 +02:00
surround.md Improve the structure of the documentation (#10619) 2024-05-06 17:39:06 +02:00
syntax-aware-motions.md Fix multiple broken links in the documentation (#10953) 2024-06-18 10:43:36 +02:00
textobjects.md Fix multiple broken links in the documentation (#10953) 2024-06-18 10:43:36 +02:00
themes.md Fixed ECMAScript private member highlighting (#10554) 2024-04-27 21:55:12 +02:00
title-page.md book: add wiki links to the title page and install page (#3017) 2022-07-09 11:08:47 -05:00
usage.md Improve the structure of the documentation (#10619) 2024-05-06 17:39:06 +02:00