mirror of
https://github.com/helix-editor/helix.git
synced 2024-11-22 09:26:19 +04:00
9c108b5486
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'. |
||
---|---|---|
.. | ||
generated | ||
guides | ||
building-from-source.md | ||
commands.md | ||
configuration.md | ||
editor.md | ||
from-vim.md | ||
install.md | ||
keymap.md | ||
lang-support.md | ||
languages.md | ||
package-managers.md | ||
registers.md | ||
remapping.md | ||
SUMMARY.md | ||
surround.md | ||
syntax-aware-motions.md | ||
textobjects.md | ||
themes.md | ||
title-page.md | ||
usage.md |