Skip to main content
Handhold supports keyboard shortcuts for efficient navigation and editing. Shortcuts use Cmd on macOS and Ctrl on Windows/Linux.
Press Cmd+/ or Ctrl+/ in any lab to view the shortcuts overlay

Lessons

Keyboard shortcuts for lesson playback and navigation:
ShortcutAction
SpacePlay/Pause, or advance to next step if current step is complete
Next step
Previous step
Keyboard shortcuts only work when the lesson view is focused. Click the stage area to ensure focus.

Labs: File Operations

Manage files and tabs:
ShortcutAction
Cmd+S / Ctrl+SSave current file
Cmd+W / Ctrl+WClose current tab
Cmd+P / Ctrl+PQuick file search (Go to file)
Cmd+Shift+P / Ctrl+Shift+PCommand palette

Labs: Navigation

Navigate between files and panels:
ShortcutAction
Cmd+G / Ctrl+GGo to line
Cmd+Shift+] / Ctrl+Shift+]Next tab
Cmd+Shift+[ / Ctrl+Shift+[Previous tab
Cmd+1 / Ctrl+1Focus left editor pane
Cmd+2 / Ctrl+2Focus right editor pane (if split view is active)

Labs: View

Toggle panels and overlays:
ShortcutAction
Cmd+B / Ctrl+BToggle sidebar
Cmd+/ / Ctrl+/Show keyboard shortcuts overlay
EscapeClose overlay (closes command palette, go-to-line dialog, or shortcuts overlay)

Labs: Editor

Code editing shortcuts:
ShortcutAction
Cmd+D / Ctrl+DAdd next occurrence to selection (multi-cursor)
Cmd+K Cmd+C / Ctrl+K Ctrl+CToggle comment (sequence shortcut)
Cmd+K Cmd+U / Ctrl+K Ctrl+UUncomment (sequence shortcut)
Cmd+K Cmd+0 / Ctrl+K Ctrl+0Fold all code blocks
Cmd+K Cmd+J / Ctrl+K Ctrl+JUnfold all code blocks
Cmd+\\ / Ctrl+\\Split editor right
Sequence shortcuts require pressing the first combination, then the second. For example: Cmd+K followed by Cmd+C

Labs: Terminal

Terminal shortcuts:
ShortcutAction
Cmd+\`` / Ctrl+“Focus terminal
Cmd+Shift+\`` / Ctrl+Shift+“New terminal

Built-in Monaco Editor Shortcuts

Handhold’s Monaco editor supports standard VS Code shortcuts:

Editing

ShortcutAction
Cmd+X / Ctrl+XCut line (empty selection)
Cmd+C / Ctrl+CCopy line (empty selection)
Option+↓ / Alt+↓Move line down
Option+↑ / Alt+↑Move line up
Shift+Option+↓ / Shift+Alt+↓Copy line down
Shift+Option+↑ / Shift+Alt+↑Copy line up
Cmd+Shift+K / Ctrl+Shift+KDelete line
Cmd+Enter / Ctrl+EnterInsert line below
Cmd+Shift+Enter / Ctrl+Shift+EnterInsert line above
Cmd+] / Ctrl+]Indent line
Cmd+[ / Ctrl+[Outdent line
Cmd+/ / Ctrl+/Toggle line comment

Selection

ShortcutAction
Cmd+L / Ctrl+LSelect current line
Cmd+Shift+L / Ctrl+Shift+LSelect all occurrences of current selection
Option+Shift+I / Alt+Shift+IInsert cursor at end of each line selected
Cmd+Option+↓ / Ctrl+Alt+↓Add cursor below
Cmd+Option+↑ / Ctrl+Alt+↑Add cursor above

Find and Replace

ShortcutAction
Cmd+F / Ctrl+FFind
Cmd+Option+F / Ctrl+HReplace
Cmd+G / F3Find next
Cmd+Shift+G / Shift+F3Find previous
ShortcutAction
Cmd+P / Ctrl+PGo to file
Cmd+Shift+O / Ctrl+Shift+OGo to symbol in file
F12Go to definition
Option+F12 / Alt+F12Peek definition
Cmd+K F12 / Ctrl+K F12Open definition to the side
Shift+F12Show references

Vim Mode

If Vim mode is enabled in Settings, standard Vim keybindings are available:
  • Normal mode: Esc or Ctrl+[
  • Insert mode: i, a, o, etc.
  • Visual mode: v, V, Ctrl+V
  • Command mode: :
  • Search: /, ?
Vim mode keyboard shortcuts override some Monaco defaults. The Vim status indicator appears in the status bar when active.

Customization

Handhold shortcuts are designed to match VS Code conventions. Most shortcuts cannot be customized, but you can:
  • Enable/disable Vim mode in Settings
  • Use the command palette (Cmd+Shift+P / Ctrl+Shift+P) to discover available commands
  • View all shortcuts by pressing Cmd+/ / Ctrl+/ in any lab
The shortcuts overlay groups shortcuts by category: File, Navigation, View, Editor, and Terminal

Build docs developers (and LLMs) love