Slash Commander
approvedby alephpiece
Customize the slash command list, assign each command an icon.
Slash Commander
Customizable slash command list for Obsidian.
Features
- Customizable slash command trigger (defaults to
/)- Additional triggers
- Per-command trigger modes
- Customizable slash command list
- Drag-and-drop command setting items
- Command groups
- Triggering slash commands only at the beginning of a line
How to install
Community plugins
- Open Obsidian settings and scroll to "Community plugins".
- Turn off the restricted mode.
- Browse community plugins, search
Slash Commanderand install it. - Enable this plugin.
Using BRAT
- Install this plugin using BRAT.
- Go to "Community plugins" and install "Obsidian42 - BRAT".
- Add https://github.com/alephpiece/obsidian-slash-commander to BRAT.
- Enable this plugin.
How to use
Simple usage
Add a new slash command
Define your own trigger(s)
Triggering on new line
Show descriptions
Development
Requires Node.js 22.13 or newer. Corepack is recommended so the pinned pnpm
version in package.json is used.
# enable package manager
corepack enable
# install deps
pnpm install
# dev
pnpm dev
# build
pnpm build
Release
Version bumps use the package manager's version lifecycle. The command updates
package.json, syncs manifest.json, updates versions.json only when the
minimum Obsidian app version changes, then creates a local commit and tag.
pnpm version:patch
pnpm version:minor
pnpm version:major
Review the generated commit and tag, then push them manually when ready:
git push
git push --tags
Credits
- Idea & logic: Better Slash Commands
- UI design & data structures: based on Commander
- Standalone menu suggest:
- idea: FelipeRearden
- suggester: Periodic Notes and Admonitions
- positioning: Highlightr and Typing Assistant
For plugin developers
Search results and similarity scores are powered by semantic analysis of your plugin's README. If your plugin isn't appearing for searches you'd expect, try updating your README to clearly describe your plugin's purpose, features, and use cases.