Keyboard Shortcuts
Keyboard Shortcuts
Section titled “Keyboard Shortcuts”CodeShelf is designed for keyboard-first use. Here are the shortcuts that matter most.
Global shortcut
Section titled “Global shortcut”| Action | Default |
|---|---|
| Open CodeShelf | Configurable 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.
Within CodeShelf
Section titled “Within CodeShelf”| Action | Shortcut |
|---|---|
| New snippet | ⌘N |
| Search | Type immediately after opening |
| Close / dismiss | Esc |
| Copy selected snippet | ↵ Enter |
Search tips
Section titled “Search tips”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.
Multi-step snippets
Section titled “Multi-step snippets”When viewing a multi-step snippet:
- Click an individual step to copy just that step
- Click Copy All to copy the full sequence
Setting your global shortcut
Section titled “Setting your global shortcut”- Open CodeShelf from the menu bar icon
- Go to Settings (gear icon)
- Click the shortcut field next to Global Shortcut
- Press your desired key combination
- 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.
