Skip to main content
← All Comparisons

VS Code vs Cursor Shortcuts

A side-by-side comparison of keyboard shortcuts between VS Code (72 shortcuts) and Cursor (30 shortcuts) on macOS. See how common actions map across both apps.

Shared Categories

These shortcut categories exist in both apps. Compare how the same actions are mapped to different key combinations.

General

VS CodeActionCursor
⇧ ⌘ PCommand Palette⇧ ⌘ P
⌘ PQuick Open File
⇧ ⌘ NNew Window
⌘ BToggle Sidebar
⌘ Jshortcuts.vscode.togglePanel
⇧ ⌘ EExplorer
⇧ ⌘ FSearch
⇧ ⌘ GSource Control

Only in VS Code

Basic editing (5)

⌘ XCut line (empty selection)
⌘ CCopy line (empty selection)
⇧ ⌘ \\Jump to matching bracket
⌥ ⇧ AToggle block comment
⌥ ZToggle Word Wrap

Rich language editing (7)

⌃ SpaceTrigger suggestion
⇧ ⌘ SpaceTrigger Parameter Hints
⌥ ⇧ FFormat Document
⌥ F12Peek Definition
⌘ .Quick Fix

Navigation (4)

⌘ TShow All Symbols
⇧ ⌘ MShow Problems panel
⌃ ⇧ TabNavigate editor group history
⌃ ⇧ MToggle Tab moves focus

Editor management (1)

⌘ \\Split editor

Search and replace (1)

⌥ ↩Select all occurrences of Find match

Display (7)

⌃ ⌘ FToggle full screen
⌥ ⌘ 0Toggle editor layout (horizontal/vertical)
⌃ ⇧ GShow Source Control
⇧ ⌘ HReplace in Files
⇧ ⌘ JToggle Search Details

File management (6)

⌘ NNew File
⌘ OOpen File...
⌘ SSave
⇧ ⌘ SSave As
⌥ ⌘ SSave All

Debug (4)

F9Toggle Breakpoint
F5Start/Continue
F10Step Over
⇧ F5Stop

Integrated terminal (1)

⌃ ⇧ `Create new terminal

Multi-cursor selection (9)

⌥ ⌘ ↑Insert Cursor Above
⌥ ⌘ ↓Insert Cursor Below
⌘ UUndo last cursor operation
⌥ ⇧ IInsert cursor at end of each line selected
⌘ ISelect current line

Only in Cursor

Chat (13)

⌃ ↩Queue Message
⇧ ⌘ DeleteCancel Generation
⇧ ⌘ LAdd Selected Code as Context
⇧ ⌘ VAdd Clipboard to Input Box
⌘ DeleteReject All Changes

Inline Edit (2)

⇧ ⌘ KToggle Edit Input Focus
⌥ ↩Ask Quick Question

Code & Context (4)

⇧ ⌘ KAdd Selection to Edit
⌘ MToggle File Reading Strategies
⌘ →Accept Next Word
TabAccept Suggestion

Terminal (3)

⌘ KOpen Terminal Prompt Bar
⌘ ↩Run Generated Command
EscAccept Command

Switching Between VS Code and Cursor

Both VS Code and Cursor are popular tools in the Development category. When switching between them, the biggest challenge is re-learning keyboard shortcuts — actions you perform automatically in one app require conscious effort in the other.

The comparison above highlights where shortcuts overlap (making the transition easier) and where they differ (requiring new muscle memory). Focus on learning the differences first, since the shared shortcuts will transfer naturally.

For a complete shortcut reference, visit the full shortcut pages: