Skip to content

Keyboard Shortcuts

CodeShelf is designed for keyboard-first use. Here are the shortcuts that matter most.

ActionDefault
Open CodeShelfConfigurable in Settings

Set your global shortcut in Settings → Keyboard Shortcut. Choose something you’ll remember and that doesn’t conflict with your editor — common choices are ⌥Space or ⌃⌥C.

ActionShortcut
New snippet⌘N
SearchType immediately after opening
Close / dismissEsc
Copy selected snippet↵ Enter

CodeShelf searches across snippet titles and content simultaneously. You don’t need to be in a specific field — just start typing after opening and results appear instantly.

Filter by language: Type the language name (e.g. “python”, “sql”, “bash”) to narrow results to snippets in that language.

Search by content: If you saved a Docker command but can’t remember the title, searching “docker” will match it in the snippet body.

When viewing a multi-step snippet:

  • Click an individual step to copy just that step
  • Click Copy All to copy the full sequence
  1. Open CodeShelf from the menu bar icon
  2. Go to Settings (gear icon)
  3. Click the shortcut field next to Global Shortcut
  4. Press your desired key combination
  5. Click Save

If the shortcut doesn’t work, another app may be using it. Try a different combination — three-key chords like ⌃⌥⌘C are unlikely to conflict.