From b498d86436e80d7f37e959fb1d0d5d4d3c19feb6 Mon Sep 17 00:00:00 2001 From: pagedown Date: Sat, 22 Jan 2022 23:08:44 +0800 Subject: [PATCH] Docs: Add modifier key names and aliases --- kitty/options/definition.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/kitty/options/definition.py b/kitty/options/definition.py index 5ab4474ab..1e8812ffb 100644 --- a/kitty/options/definition.py +++ b/kitty/options/definition.py @@ -2851,7 +2851,9 @@ agr('shortcuts', 'Keyboard shortcuts', ''' Keys are identified simply by their lowercase unicode characters. For example: ``a`` for the A key, ``[`` for the left square bracket key, etc. For functional keys, such as ``Enter or Escape`` the names are present at :ref:`functional`. -For a list of modifier names, see: +For modifier keys, the names are :kbd:`ctrl` (:kbd:`control`, :kbd:`⌃`), +:kbd:`shift` (:kbd:`⇧`), :kbd:`alt` (:kbd:`opt`, :kbd:`option`, :kbd:`⌥`), +:kbd:`super` (:kbd:`cmd`, :kbd:`command`, :kbd:`⌘`). See also: :link:`GLFW mods ` On Linux you can also use XKB key names to bind keys that are not supported by