Skip to content

Keyboard Shortcuts

Complete reference for all keyboard shortcuts in the SpecTacular VS Code Extension.

Editor Shortcuts

Formatting

ShortcutActionContext
Ctrl+BBoldWYSIWYG editor
Ctrl+IItalicWYSIWYG editor
Ctrl+UUnderlineWYSIWYG editor
Ctrl+Shift+XStrikethroughWYSIWYG editor
Ctrl+EInline codeWYSIWYG editor

Headings

ShortcutActionContext
Ctrl+Alt+1Heading 1WYSIWYG editor
Ctrl+Alt+2Heading 2WYSIWYG editor
Ctrl+Alt+3Heading 3WYSIWYG editor
Ctrl+Alt+4Heading 4WYSIWYG editor
Ctrl+Alt+5Heading 5WYSIWYG editor
Ctrl+Alt+6Heading 6WYSIWYG editor
Ctrl+Alt+0Paragraph (remove heading)WYSIWYG editor

Lists

ShortcutActionContext
Ctrl+Shift+8Bullet listWYSIWYG editor
Ctrl+Shift+7Numbered listWYSIWYG editor
Ctrl+Shift+9Task list (checkboxes)WYSIWYG editor
TabIndent list itemWYSIWYG editor
Shift+TabOutdent list itemWYSIWYG editor

Blocks

ShortcutActionContext
Ctrl+Shift+BBlockquoteWYSIWYG editor
Ctrl+Alt+CCode blockWYSIWYG editor
Ctrl+Shift+HHorizontal ruleWYSIWYG editor

Editing

ShortcutActionContext
Ctrl+ZUndoWYSIWYG editor
Ctrl+YRedoWYSIWYG editor
Ctrl+Shift+ZRedo (alternative)WYSIWYG editor
Ctrl+ASelect allWYSIWYG editor
Ctrl+CCopyWYSIWYG editor
Ctrl+XCutWYSIWYG editor
Ctrl+VPasteWYSIWYG editor

File Operations

Saving

ShortcutActionContext
Ctrl+SSave current fileDashboard
Ctrl+Shift+SSave all modified filesDashboard
Ctrl+K SSave without formattingDashboard
ShortcutActionContext
Alt+LeftNavigate backDashboard
Alt+RightNavigate forwardDashboard
Ctrl+PQuick open fileVS Code
Ctrl+TabSwitch between open filesVS Code

Mouse Shortcuts

ActionShortcutContext
Navigate backMouse Button 4Dashboard
Navigate forwardMouse Button 5Dashboard
Open linkClickPreview mode
Open in new tabCtrl+ClickPreview mode

Dashboard Commands

Via Command Palette (Ctrl+Shift+P)

CommandShortcutDescription
Spectacular: Open Dashboard-Open dashboard panel
Spectacular: Open Dashboard to Side-Open beside current editor
Spectacular: Refresh TreeCtrl+Shift+R*Refresh specs tree
Spectacular: Reveal in Tree-Highlight file in tree
Spectacular: Reveal Specs Folder-Open specs in explorer

*Configurable in VS Code keybindings

Tree View Shortcuts

ShortcutActionContext
EnterOpen file in dashboardTree view
SpaceToggle folder expand/collapseTree view
Arrow DownNext itemTree view
Arrow UpPrevious itemTree view
Arrow RightExpand folderTree view
Arrow LeftCollapse folderTree view

Search and Find

ShortcutActionContext
Ctrl+FFind in current fileDashboard
Ctrl+HFind and replaceWYSIWYG editor
Ctrl+Shift+FSearch in all filesVS Code
F3Find nextDashboard
Shift+F3Find previousDashboard

Custom Keybindings

Configure Your Own

Open VS Code keybindings (Ctrl+K Ctrl+S) and search for "spectacular":

json
{
  "key": "ctrl+alt+s",
  "command": "spectacular.openDashboard",
  "when": "!inDebugMode"
},
{
  "key": "ctrl+alt+t",
  "command": "spectacular.refreshTree"
},
{
  "key": "ctrl+alt+r",
  "command": "spectacular.revealInTree",
  "when": "editorFocus"
}

Quick Dashboard Access:

json
{
  "key": "ctrl+k ctrl+d",
  "command": "spectacular.openDashboard"
}

Toggle Edit/Preview:

json
{
  "key": "ctrl+k ctrl+e",
  "command": "spectacular.toggleEditMode"
}

Save All Specs:

json
{
  "key": "ctrl+k ctrl+s",
  "command": "spectacular.saveAll"
}

Editor Mode Shortcuts

Switching Modes

ActionHow To
Enter edit modeClick "Edit" button or Ctrl+E*
Exit edit modeClick "Preview" button or Esc
Toggle modeClick mode toggle or Ctrl+Shift+E*

*If configured in keybindings

Table Editing

In WYSIWYG Editor

ShortcutAction
TabMove to next cell
Shift+TabMove to previous cell
EnterMove to cell below
Ctrl+Shift+DDelete row
Ctrl+Shift+RAdd row below
Ctrl+Shift+CAdd column right

Advanced Shortcuts

Developer Tools

ShortcutAction
Ctrl+Shift+IOpen DevTools (webview)
Ctrl+RReload webview
F12Open DevTools (extension)

Extension Debugging

ShortcutAction
F5Start debugging extension
Ctrl+Shift+F5Restart debugging
Shift+F5Stop debugging

Markdown-Specific Shortcuts

Special Characters

ShortcutInsertsContext
Ctrl+K [[[[wikilink]]Any
Ctrl+K ##status/Any
Ctrl+K >BlockquoteAny
Ctrl+K -Horizontal ruleAny

Frontmatter

ShortcutAction
Ctrl+Shift+YShow/hide frontmatter
Ctrl+K Ctrl+FFormat frontmatter

Multi-Cursor Editing

ShortcutAction
Alt+ClickAdd cursor
Ctrl+Alt+DownAdd cursor below
Ctrl+Alt+UpAdd cursor above
Ctrl+DSelect next occurrence
Ctrl+Shift+LSelect all occurrences
EscRemove extra cursors

Workspace Shortcuts

ShortcutAction
Ctrl+K Ctrl+OOpen folder
Ctrl+K FClose folder
Ctrl+,Open settings
Ctrl+Shift+PCommand palette

Tips for Efficiency

Workflow Shortcuts

Quick Spec Creation:

  1. Ctrl+Shift+P → Type "new file"
  2. Save in specs/ directory
  3. Ctrl+Shift+P → "Open Dashboard"

Fast Navigation:

  1. Ctrl+P → Type file name
  2. Enter to open
  3. Auto-previews in dashboard

Bulk Editing:

  1. Ctrl+Shift+F → Search across files
  2. Ctrl+Shift+H → Replace across files
  3. Review in dashboard

Custom Workflow

Create a keybinding sequence for common tasks:

json
{
  "key": "ctrl+k s 1",
  "command": "runCommands",
  "args": {
    "commands": [
      "spectacular.openDashboard",
      "spectacular.refreshTree",
      "workbench.action.files.save"
    ]
  }
}

Cheat Sheet

Most Used Shortcuts

Essential:

  • Ctrl+S - Save
  • Alt+Left/Right - Navigate history
  • Ctrl+B/I - Bold/Italic
  • Ctrl+Z/Y - Undo/Redo

Dashboard:

  • Ctrl+Shift+P → "spectacular" - All commands
  • Ctrl+P - Quick open file
  • Ctrl+F - Find in file

Editing:

  • Ctrl+Alt+1-6 - Headings
  • Ctrl+Shift+8/7 - Lists
  • Tab/Shift+Tab - Indent/Outdent
markdown
# SpecTacular Shortcuts Cheat Sheet

**Formatting:**
Ctrl+B (Bold), Ctrl+I (Italic), Ctrl+E (Code)

**Navigation:**
Alt+Left (Back), Alt+Right (Forward)

**Headings:**
Ctrl+Alt+1-6 (H1-H6)

**Lists:**
Ctrl+Shift+8 (Bullets), Ctrl+Shift+7 (Numbers)

**Save:**
Ctrl+S (Save), Ctrl+Shift+S (Save All)

**Commands:**
Ctrl+Shift+P (Command Palette)

Platform Differences

macOS

Replace Ctrl with Cmd for most shortcuts:

  • Cmd+B - Bold
  • Cmd+S - Save
  • Cmd+Z - Undo

Replace Alt with Option:

  • Option+Left - Navigate back

Linux

Most shortcuts work as documented (Ctrl-based).

Next Steps

Released under the MIT License.