feat(shortcuts): bind the help panel to kitty_mod+H

Use the standard kitty modifier instead of Ctrl+H, which many terminal
programs use for backspace. The help panel now lists the binding as
kitty_mod+h.
This commit is contained in:
BlackAngelTV committed 2026-11-12 13:07:19 +01:00
1 parent 7c17b5c0ce
commit c1d4ca8c2d
6 files changed
+14 -13

No files matched your search

+2 -2
View File
@@ -4687,11 +4687,11 @@ map('Command palette', 'command_palette kitty_mod+f3 command_palette')
map(
'Keyboard shortcuts',
'keyboard_shortcuts ctrl+h launch --type=window-dock --dock-edge=left --dock-size=60 kitty +kitten help',
'keyboard_shortcuts kitty_mod+h launch --type=window-dock --dock-edge=left --dock-size=60 kitty +kitten help',
long_text="""
Open the searchable keyboard shortcuts panel in a dock at the left edge of the
current window. It can also be launched manually with :code:`kitty +kitten help`.
This takes over :kbd:`Ctrl+H`, which some programs use for backspace.
The default binding is :kbd:`kitty_mod+h` (:kbd:`Ctrl+Shift+H` by default).
""",
)
+1 -1
View File
@@ -1037,7 +1037,7 @@ defaults.map = [
# file_manager
KeyDefinition(trigger=SingleKey(mods=5, key=101), definition='launch --type=window-dock --dock-edge=left --dock-size=60 kitten file-manager'),
# keyboard_shortcuts
KeyDefinition(trigger=SingleKey(mods=4, key=104), definition='launch --type=window-dock --dock-edge=left --dock-size=60 kitty +kitten help'),
KeyDefinition(trigger=SingleKey(mods=5, key=104), definition='launch --type=window-dock --dock-edge=left --dock-size=60 kitty +kitten help'),
# toggle_fullscreen
KeyDefinition(trigger=SingleKey(mods=256, key=57374), definition='toggle_fullscreen'),
# toggle_maximized