Multi-key or chorded key hotkeys

Suggest the ability to have tmux or VIM style “chorded” hotkeys - for example I use “ctrl-a |” as the split in tmux. Hit ctrl-a as the “leader” and then the | pipe.

In VIM I use as a leader.

Think it would be nice to assign some other leader to Obsidian and have another set of complimentary key shortcuts.

11 Likes

I use this in VsCode all the time - its great because you can pick a “leader” for a plugin and the second key to to specific action.

⌘-d ⌘-t → Daily note plugin, jump to today
⌘-d ⌘-n → Daily note plugin, jump to next
etc etc

1 Like

There’s a plugin which lets you set a leader hotkey.

1 Like

Very nice, thank you!

Leader plugin

1 Like

is there a way that we can configure the leader plugin or obsidian to only use the leader key when in visual mode ?

1 Like

Hello. Normally I’m using code editors like Sublime Text / Visual Studio Code, so I’m trying to do unification for hotkeys. This editors allow to use hotkey combos. Like
Ctrl + K + B, formally [Ctrl + K, Ctrl + B]
really: ctrl down, k down up, b down up, ctrl up

So … this feature will increase usability of hotkeys.

Here is an example from VSCode.

2 Likes

That is a single key, while this feature is about any chord combination.
cmd+d → daily note namespace
cmd+w → Window management namespace
cmd+t → templates namespace

Why not add this to obsidian core, with the plugin you do not see hotkey conflicts. and the UI of the plugin is not really user friendly, as you have to select the action of the hotkey in an endless dropdown menu where you can’t search.

Hello,
Did you find a solution? If not, does anyone know of a plugin or solution for this? I’m also interested because we quickly reach the limit of keyboard shortcuts otherwise, and I’m used to VSCode too.

Some options you could try:

https://github.com/trenta3/obsidian-hotkeys-chords

https://github.com/moolmanruan/obsidian-sequence-hotkeys

https://github.com/anselmwang/obsidian-key-sequence-shortcut

2 Likes

Thank you. I searched with Keyboard Shortcut and not with HotKeys. I am currently testing Chorded hotkeys, but sequence hotkeys Seems to do exactly what I’m looking for, so I might use that one.

Use case or problem

Allow using keyboard chords (two separate keypress actions) for shortcust. It’s sequences of keypress actions (e.g., Cmd+E followed by R, Cmd+E then Cmd+J) for shortcuts that is shown a great workflow improvements for many people.

Proposed solution

VSCode is a great example, a shortcut can be a single action or two actions.

Current workaround (optional)

No workaround.

1 Like