Add global command bypass with Cthulhu+Z

This commit is contained in:
ak47 committed 2026-11-07 22:07:03 -05:00
1 parent d01965c00d
commit 4c95c9f278
26 files changed
+657 -18

No files matched your search

+2
View File
@@ -23,6 +23,7 @@ const (
CycleProgressBarOutput Command = "cycle-progress-bar-output"
PresentVersion Command = "present-version"
ToggleLearnMode Command = "toggle-learn-mode"
ToggleCommandBypass Command = "toggle-command-bypass"
EmojiMenu Command = "emoji-menu"
ShowActions Command = "show-actions"
InternalUIKey Command = "internal-ui-key"
@@ -220,6 +221,7 @@ func DefaultCommandBindings(layout KeyboardLayout) CommandBindings {
{Symbol: 'v', Modifiers: 1, CthulhuModifier: true}: PresentVersion,
{Symbol: 'a', CthulhuModifier: true}: ToggleDocumentMode,
{Symbol: 'h', CthulhuModifier: true}: ToggleLearnMode,
{Symbol: 'z', CthulhuModifier: true}: ToggleCommandBypass,
{Symbol: 'h', Modifiers: 1, CthulhuModifier: true}: DocumentPreviousHeading,
{Symbol: 'k', CthulhuModifier: true, Modifiers: controlModifier}: DocumentNextLink,
{Symbol: 'k', Modifiers: controlModifier | 1, CthulhuModifier: true}: DocumentPreviousLink,