Skip to content

Commit

Permalink
Create Slash commands.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanjamurphy authored Apr 5, 2022
1 parent be29fa4 commit 125f735
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions en/Plugins/Slash commands.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
Slash commands allow the user to invoke any of Obsidian's commands while writing in the editor, simply by inserting a `/` character.

After inserting a `/` character, the editor will present the user with a searchable list of available commands. Continue writing e.g., the name of a command to search the list.

To run a command via slash commands:
1. While writing in the editor, insert a `/` character.
2. Start typing the name of the command you want to run to search the list of available commands.
3. Navigate to the command using the arrow keys.
4. Press enter.

To exit the slash command search without invoking a command, hit `esc` or insert a `space`.

> [!TIP] Fuzzy matching
> Like the [[Command palette]], searching for a slash command supports fuzzy matching, which lets you search commands even if you don't know their exact names. For example, type "scf" to find the "Save current file" command.

0 comments on commit 125f735

Please sign in to comment.