Is there a way to have a hotkey for typing a specific string?

Things I have tried

I have tried searching in the obsidian forum and using duckduckgo, but I am not sure that I have the correct terminology to do an effective search. I can probably make it work by creating a template and assigning a hotkey to that template, but I thought there might be simpler, less bodgy way.

What I’m trying to do

All I would like to do is that whenever I am editing a note and I hit cmd+M the editor places #mines where the cursor is. Bonus points if I can do this without using Templates or another plugin.

No hotkey solution, but I love using espanso for such things.

In the configuration, add for example:

- trigger: ":m"
replace: "#mines"

Then, whenever you type :m in any file in any app, it will immediately be replaced by #mines

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.