Best way to list keybindings? #5298
Unanswered
Spitfire1900
asked this question in
Q&A
Replies: 1 comment 3 replies
-
You can start from prompt-toolkit because VI_MODE is the feauture of ptk. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm aware of
builtins.__xonsh__.shell.prompter.key_bindings.registries[0].bindings
to print the current keybindings (thanks https://github.com/jnoortheen/xontrib-commands/blob/main/xontrib_commands/cmds/report_keys.py#L18), but I have no idea where to look for VI_MODE keybindings, nor do I know if this is the recommended approach to do a keybinding lookup.Beta Was this translation helpful? Give feedback.
All reactions