Slash command filters/toggles

Use case or problem

Depending on the amount of plugins installed, using a slash command might return a very long list. Personally, I only use a few things from the slash commands (more as a quick way to access commands while writing). It would be great if we could choose which of the commands in the command palette should be accessible in the slash autosuggest.

Proposed solution

Adding toggles (perhaps similar to how quickadd does it) to any command (core or third party plugin)

Current workaround (optional)

Type more precise commands (e.g. avoid the word Toggle)

Related feature requests (optional)

9 Likes

This would be cool!

PS: what a well-formatted feature request.

2 Likes

It really bothers me too. I don’t know how to hack the core plugin, so I’m trying to make a simple plugin to do this: obsidian-slash-commander

I’m still working on it. For now, you can trigger slash commands only at the beginning of a line or after any whitespace.

1 Like

I didn’t make commands toggleable. They have to be added to slash command bindings manually.