Skip to main content
← All Comparisons

VS Code vs Sublime Text Shortcuts

A side-by-side comparison of keyboard shortcuts between VS Code (72 shortcuts) and Sublime Text (63 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 CodeActionSublime Text
⇧ ⌘ PCommand Palette
⌘ 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 Sublime Text

Editing (10)

⌘ XCut line
⌘ ↩Insert line after
⇧ ⌘ ↩Insert line before
⌃ ⇧ ↑Extra cursor on the line above
⌃ ⇧ ↓Extra cursor on the line below

Navigation / Goto Anywhere (3)

⌘ PGo to File
⌘ RGo to Symbol
⌃ GGo to Line

Find / Replace (4)

⌘ FFind
⌥ ⌘ FReplace
⇧ ⌘ FFind in Files
⌘ IIncremental Find

Scrolling (2)

⌘ DownScroll to end of file
⌘ UpScroll to start of file

Tabs (2)

⌘ [NUM]Jump to tab in current group where num is 1-9
⌘ 0Jump to 10th tab in current group

Split window (3)

⌥ ⌘ 5Set view to grid (4 groups)
⌃ [NUM]Jump to group where num is 1-4
⌃ ⇧ [NUM]Move file to specified group where num is 1-4

Bookmarks (4)

⌘ F2Toggle Bookmark
F2Next Bookmark
⇧ F2Previous Bookmark
⇧ ⌘ F2Clear Bookmarks

Switching Between VS Code and Sublime Text

Both VS Code and Sublime Text 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: