Command Shortcuts

approved

by jsmorabito

Forked from Quorafind/Obsidian-Shortcuts

Activate commands using multiple shortcut methods. - This plugin has not been manually reviewed by Obsidian staff.

266 downloadsUpdated 24d agoMIT
Shows project promo image in light and dark mode

Why use Shortcuts?

Move faster in Obsidian with Shortcuts! Move around your vault without touching the mouse. The Shortcuts plugin lets you trigger any Obsidian command, custom action, or UI element by chaining single keys, modifier combos, or full key sequences. A scissors icon in the status bar shows when shortcuts are active and gives you quick access to your personal cheat sheet.

Highlights

  • Create shortcuts such as S, Ctrl+Shift+H, or A then B+C then D
  • Auto-enable shortcut mode when you leave an editor or input (optional)
  • Surface context-aware shortcuts based on where you are in the app
  • Display helpers, notifications, and surfing hints so you always know what will fire
  • Stay productive on desktop or laptops without a full keyboard

Tip: When shortcut mode is active the plugin listens to every key you press. It stops listening as soon as you focus an editor or standard input so that normal typing works as expected.


Installation

  1. Open Obsidian settings → Community pluginsBrowse
  2. Search for “Shortcuts” or install manually from the release ZIP
  3. Enable the plugin and review the settings tab labelled Shortcuts
  4. (Optional) Pin the scissors icon to your status bar for fast access

If you install from source, clone this repo inside your vault’s .obsidian/plugins/ folder and run npm install && npm run build. Then enable it from Obsidian’s plugin list.


Quick start

  1. Click the scissors icon or press your configured trigger key (default Esc) to enter shortcut mode.
  2. Start pressing keys. The plugin will display matching shortcuts and execute the first exact match.
  3. Hit Esc again (or use the focus key I) to leave shortcut mode and return focus to the editor or input you were using.

Right-click the scissors icon at any time to see your active shortcut list and tips.


Shortcut types

TypeHow it worksExample
Single keyPress one keyS
Modified keyCombine with Ctrl/Alt/Shift/MetaCtrl+Alt+L
Simultaneous comboPress several keys togetherJ + K
Hybrid sequenceMix combos and singles in orderCtrl+K then V then Shift+Tab
Surfing hintTemporary key labels placed next to UI elementsAA, SC, etc.
Shows project promo image in light and dark mode

Sequences are evaluated left to right. For example, if you configure Ctrl+J then P, pressing Ctrl+J, releasing, then pressing P will run the mapped command.


Everyday examples (You have to set it yourself)

  • Quick capture: Q opens a Daily Note, Q+S inserts a timestamp, Q+T toggles a task. (Not yet implemented)
  • Navigation: G then 1 jumps to your Inbox folder, G then R reopens the most recent note.
  • Editing: Ctrl+Shift+M adds YAML metadata, M then B bolds the current selection.
  • Canvas/Surfing: activate Surfing mode and press the on-screen pair such as AD to click complex UI elements without the mouse.
  • Workspace automation: assign W then 1 to open Workspaces Plus layout or trigger third-party commands.

You can mix Obsidian core commands, community plugin commands, and custom functions provided by Shortcuts.


Managing shortcuts

Settings tab

  • Sequences: Organize shortcuts by groups. Each entry supports multiple configs (combos, sequences, or surfing hints).
  • Trigger key: Choose how you toggle shortcut mode. Esc is the default, but any key or combo works.
  • Timeout: Control how long the plugin waits for the next key in a sequence (default 1200 ms).
  • Notifications: Toggle “current sequence” popups or “shortcut executed” confirmations.
  • Auto shortcut mode: Keep shortcut mode active whenever you are not typing in an editor or input field.

Status bar indicator

  • Left-click: Toggle shortcut mode on/off.
  • Right-click: Open the Tips view showing current bindings, scopes, and usage hints.
  • Active state: When lit, every key press is interpreted as part of a shortcut.

Advanced capabilities

Scoped shortcuts

Choose where a shortcut works: general, editor-only, UI elements, or custom scopes added by other plugins. This keeps editing shortcuts from firing in the wrong context.

Surfing mode

Surfing overlays short key labels next to buttons and clickable elements. Type the label to “click” that target instantly—ideal for command palettes, tab headers, settings, or ribbon icons.

Focus management

While in shortcut mode you can press I (or your configured focus key) to return to the previous editor/input without losing cursor position. Leaving shortcut mode automatically restores the last focus target.


Recommended companion plugins


Troubleshooting

IssueResolution
Shortcuts keep firing while I typeDisable auto-shortcut mode or choose a different trigger key.
Nothing happens when I press a sequenceCheck the timeout value; long pauses reset the sequence. Also ensure no modal dialogs are open if Esc is the trigger key.
Surfing labels do not appearConfirm surfing feature is enabled in settings and that the active view supports it.
I forgot what a shortcut doesRight-click the status bar scissors for the Tips view or review the Sequences list in settings.

Credits

Shows project promo image in light and dark mode

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.