feat(shortcuts): add a leader key tree and palette remapping
Expose the multi-key mappings starting at the configured leader key in a which-key panel, so that continuations are discoverable as soon as the prefix is pressed. Both the panel and the command palette read the same structured mapping data, and the palette can now write a new mapping for the selected action.
This commit is contained in:
1 parent
aa1fff96b4
commit
05621aebd2
10 files changed
+418
-13
No files matched your search
Generated
+2
@@ -388,6 +388,7 @@ option_names = (
|
||||
'italic_font',
|
||||
'kitten_alias',
|
||||
'kitty_mod',
|
||||
'leader',
|
||||
'linux_bell_theme',
|
||||
'linux_display_server',
|
||||
'listen_on',
|
||||
@@ -613,6 +614,7 @@ class Options:
|
||||
input_delay: int = 3
|
||||
italic_font: FontSpec = FontSpec(family=None, style=None, postscript_name=None, full_name=None, system='auto', axes=(), variable_name=None, features=(), created_from_string='auto')
|
||||
kitty_mod: int = 5
|
||||
leader: str = 'ctrl+space'
|
||||
linux_bell_theme: str = '__custom'
|
||||
linux_display_server: choices_for_linux_display_server = 'auto'
|
||||
listen_on: str = 'none'
|
||||
|
||||
Reference in new issue
Block a user