# Slash command shortcuts

**URL:** https://community.silverbullet.md/t/slash-command-shortcuts/659
**Category:** Edge
**Created:** [July 15, 2024, 6:49pm UTC](https://community.silverbullet.md/t/slash-command-shortcuts/659 "2024-07-15T18:49:24Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![zef](https://community.silverbullet.md/user_avatar/community.silverbullet.md/zef/32/7_2.png) [@zef](https://community.silverbullet.md/u/zef)
#### Post date: [July 15, 2024, 6:49pm UTC](https://community.silverbullet.md/t/slash-command-shortcuts/659/1 "2024-07-15T18:49:24Z")

</div>

Now also on edge: slash command [Shortcuts](https://silverbullet.md/Shortcuts) allowing you to map slash commands to commands.

My use case: mobile. On mobile running commands is kind of a pain, whereas typing a slash command is still doable. So I configured:

```yaml
shortcuts:
- command: "{[AI: Chat on current page]}"
  slashCommand: "chat"
  mac: "Cmd-Shift-Enter"
- command: "{[Outline: Move Right]}"
  slashCommand: "indent"
  key: "Alt->"
- command: "{[Outline: Move Left]}"
  slashCommand: "outdent"
  key: "Alt-<"

```

This is particularly useful for when I want to use the AI plug’s Chat on page feature (basically ChatGPT in SilverBullet).

On desktop I create a quick note, ask a question and hit `Cmd-Shift-Enter`.

On mobile I create a quick note, ask a question and type `/chat`.

Boom
