Hotkey for individual templates

Use case or problem

My list of templates is growing. I still use just a handful very frequently.

Proposed solution

Allow me to set a direct template shortcut (CMD-1) for a specific template.

Current workaround (optional)

Give the templates weird names so that the most likely used ones shows up near the top, keyboard arrow navigation to find it.

Related feature requests (optional)

2 Likes

I feel that this is like a snippet system.

In vim, I use Ultisnip for such actions. I prepend a ; before my snippet hotkeys, e.g. ;header<TAB>, so it won’t interfere with normal word auto-completion.

It would be cool to have a snippet system in obsidian.

I released a new plugin GitHub - Vinzent03/obsidian-hotkeys-for-templates. This should fix your problem.

1 Like

That’s very nice!

Could it be smart and expand templater things also if that’s active? Like {{tp_title}} etc.

So you want to expand the functionality for the templater plugin?

I suppose I should send that there, right. Thanks!

No not needed. I already added support for Templater.