Keyboard Shortcuts

Keyboard Shortcuts

Quick reference for IDE keyboard shortcuts. Use Cmd on macOS, Ctrl on Windows/Linux.

AI Shortcuts

ActionmacOSWindows/Linux
Open AI ChatCmd + Shift + ACtrl + Shift + A
Inline AICmd + ICtrl + I
Accept AI suggestionTabTab
Dismiss AI suggestionEscapeEscape

File Navigation

ActionmacOSWindows/Linux
Quick Open fileCmd + PCtrl + P
Command PaletteCmd + Shift + PCtrl + Shift + P
Go to SymbolCmd + Shift + OCtrl + Shift + O
Go to LineCmd + GCtrl + G
Switch Editor TabCmd + TabCtrl + Tab
Close EditorCmd + WCtrl + W

Editing

ActionmacOSWindows/Linux
Cut lineCmd + XCtrl + X
Copy lineCmd + CCtrl + C
Move line up/downOption + ↑/↓Alt + ↑/↓
Copy line up/downShift + Option + ↑/↓Shift + Alt + ↑/↓
Delete lineCmd + Shift + KCtrl + Shift + K
Comment lineCmd + /Ctrl + /
Indent/OutdentCmd + ] / Cmd + [Ctrl + ] / Ctrl + [

Multi-Cursor

ActionmacOSWindows/Linux
Add cursor above/belowCmd + Option + ↑/↓Ctrl + Alt + ↑/↓
Add cursor at clickOption + ClickAlt + Click
Select all occurrencesCmd + Shift + LCtrl + Shift + L
Select next occurrenceCmd + DCtrl + D

Search & Replace

ActionmacOSWindows/Linux
FindCmd + FCtrl + F
ReplaceCmd + Option + FCtrl + H
Find in filesCmd + Shift + FCtrl + Shift + F
Replace in filesCmd + Shift + HCtrl + Shift + H

View

ActionmacOSWindows/Linux
Toggle SidebarCmd + BCtrl + B
Toggle TerminalCmd + `Ctrl + `
Toggle Full ScreenCmd + Ctrl + FF11
Zoom In/OutCmd + +/-Ctrl + +/-
Split EditorCmd + \Ctrl + \

Terminal

ActionmacOSWindows/Linux
New Terminal`Cmd + Shift + ```Ctrl + Shift + ``
Clear TerminalCmd + KCtrl + K
Kill Terminal--

Git

ActionmacOSWindows/Linux
Open Source ControlCmd + Shift + GCtrl + Shift + G

Tips

  • Use Cmd/Ctrl + Shift + P to search for any command
  • Most shortcuts can be customized in settings
  • Hover over menu items to see their shortcuts