Visual Studio Code (Mac)

Search and replace

Find next

⌘ Cmd + G

All hotkeys for Visual Studio Code (Mac)

General
F1 Show Command Palette

↑   Shift + ⌘ Cmd + P then F1

Navigation
Go to file

⌘ Cmd + P

General
New window/instance

↑   Shift + ⌘ Cmd + N

File management
Close

⌘ Cmd + W

General
User Settings

⌘ Cmd + ,

General
Keyboard Shortcuts

⌘ Cmd + K then ⌘ Cmd + S

Basic editing
Cut line (empty selection)

⌘ Cmd + X

Integrated terminal
Copy selection

⌘ Cmd + C

Basic editing
Move line up/down

⌥ Option + ↑  ↓

Basic editing
Copy line up / down

↑   Shift + ⌥ Option + ↑  ↓

Basic editing
Insert line below

⌘ Cmd + ⤶ Enter

Basic editing
Insert line above

↑   Shift + ⌘ Cmd + ⤶ Enter

Basic editing
Jump to matching bracket

↑   Shift + ⌘ Cmd + \

Basic editing
Indent/outdent line

⌘ Cmd + ]

Basic editing
Indent/outdent line

⌘ Cmd + [

Basic editing
Go to beginning of line

Home

Basic editing
Go to end of line

End

Basic editing
Go to beginning of file

⌘ Cmd +

Basic editing
Go to end of file

⌘ Cmd +

Basic editing
Scroll line up/down

Ctrl + ↑  ↓

Basic editing
Scroll page up

Control + Page Up

Basic editing
Scroll page down

Control + Page Down

Basic editing
Fold (collapse) region

⌥ Option + ⌘ Cmd + [

Basic editing
Unfold (uncollapse) region

⌥ Option + ⌘ Cmd + ]

Basic editing
Fold (collapse) all subregions

⌘ Cmd + K then ⌘ Cmd + [

Basic editing
Unfold (uncollapse) all subregions

⌘ Cmd + K then ⌘ Cmd + ]

Basic editing
Fold (collapse) all regions

⌘ Cmd + K then ⌘ Cmd + 0

Basic editing
Unfold (uncollapse) all regions

⌘ Cmd + K then ⌘ Cmd + J

Basic editing
Add line comment

⌘ Cmd + K then ⌘ Cmd + C

Basic editing
Remove line comment

⌘ Cmd + K then ⌘ Cmd + U

Basic editing
Toggle line comment

⌘ Cmd + /

Basic editing
Toggle block comment

↑   Shift + ⌥ Option + A

Basic editing
Toggle word wrap

⌥ Option + Z

Navigation
Show all symbols

⌘ Cmd + T

Navigation
Go to line

Control + G

Navigation
Go to symbol

↑   Shift + ⌘ Cmd + O

Navigation
Show Problems panel

↑   Shift + ⌘ Cmd + M

Navigation
Go to next error or warning

F8

Navigation
Go to previous error or warning

↑   Shift + F8

Navigation
Navigate editor group history

Ctrl + ↑   Shift + ⭾ Tab

Navigation
Go back

Ctrl + -

Navigation
Go forward

Ctrl + ↑   Shift + -

Navigation
Toggle Tab moves focus

Ctrl + ↑   Shift + M

Search and replace
Find

⌘ Cmd + F

Search and replace
Replace

⌥ Option + ⌘ Cmd + F

Search and replace
Find next

⌘ Cmd + G

Search and replace
Find previous

↑   Shift + ⌘ Cmd + G

Search and replace
Select all occurences of Find match

⌥ Option + ⤶ Enter

Search and replace
Add selection to next Find match

⌘ Cmd + D

Search and replace
Move last selection to next Find match

⌘ Cmd + K then ⌘ Cmd + D

Multi-cursor and selection
Insert cursor

⌥ Option + Mouse left click

Multi-cursor and selection
Insert cursor above / below

⌥ Option + ⌘ Cmd + ↑  ↓

Multi-cursor and selection
Undo last cursor operation

⌘ Cmd + U

Multi-cursor and selection
Insert cursor at end of each line selected

↑   Shift + ⌥ Option + I

Multi-cursor and selection
Select current line

⌘ Cmd + I

Multi-cursor and selection
Select all occurrences of current selection

↑   Shift + ⌘ Cmd + L

Multi-cursor and selection
Select all occurrences of current word

⌘ Cmd + F2

Multi-cursor and selection
Expand selection

Ctrl + ↑   Shift + ⌘ Cmd +

Multi-cursor and selection
Shrink selection

Ctrl + ↑   Shift + ⌘ Cmd +

Multi-cursor and selection
Column (box) selection

↑   Shift + ⌥ Option + Mouse movement

Multi-cursor and selection
Column (box) selection left/right

↑   Shift + ⌥ Option + ⌘ Cmd + ←  →

Multi-cursor and selection
Column (box) selection page up

Shift + Option + Command + Page Up

Multi-cursor and selection
Column (box) selection page down

Shift + Option + Command + Page Down

Rich languages editing
Trigger suggestion

Ctrl + Space

Rich languages editing
Trigger parameter hints

↑   Shift + ⌘ Cmd + Space

Rich languages editing
Format document

↑   Shift + ⌥ Option + F

Rich languages editing
Format selection

⌘ Cmd + K then ⌘ Cmd + F

Rich languages editing
Go to Definition

F12

Rich languages editing
Peek Definition

⌥ Option + F12

Rich languages editing
12 Open Definition to the side

⌘ Cmd + K then F12

Rich languages editing
Quick Fix

⌘ Cmd + .

Rich languages editing
Show References

↑   Shift + F12

Rich languages editing
Rename Symbol

F2

Rich languages editing
Trim trailing whitespace

⌘ Cmd + K then ⌘ Cmd + X

Rich languages editing
M Change file language

⌘ Cmd + K then M

Editor management
F Close folder

⌘ Cmd + K then F

Editor management
Split editor

⌘ Cmd + \

Editor management
Focus into first group

⌘ Cmd + 1

Editor management
Focus into second group

⌘ Cmd + 2

Editor management
Focus into third group

⌘ Cmd + 3

Editor management
Focus into previous/next editor group

⌘ Cmd + K then ⌘ Cmd + ←  →

Editor management
Move editor left

⌘ Cmd + K then ↑   Shift + ⌘ Cmd +

Editor management
Move editor right

⌘ Cmd + K then ↑   Shift + ⌘ Cmd +

Editor management
ht Move active editor group

⌘ Cmd + K then ←  →

File management
New File

⌘ Cmd + N

File management
Open File

⌘ Cmd + O

File management
Save

⌘ Cmd + S

File management
Save As

↑   Shift + ⌘ Cmd + S

File management
Save All

⌥ Option + ⌘ Cmd + S

File management
Close All

⌘ Cmd + K then ⌘ Cmd + W

File management
Reopen closed editor

Ctrl + ↑   Shift + T

File management
er Keep preview mode editor open

⌘ Cmd + K then ⤶ Enter

File management
Open next

Control + ⭾ Tab

File management
Open previous

Control + ↑   Shift + ⭾ Tab

File management
P Copy path of active file

⌘ Cmd + K then P

File management
R Reveal active file in Explorer

⌘ Cmd + K then R

File management
O Show active file in new window/instance

⌘ Cmd + K then O

Display
Toggle full screen

Control + ⌘ Cmd + F

Display
Toggle editor layout (horizontal/vertical)

⌥ Option + ⌘ Cmd + 1

Display
Zoom in

⌘ Cmd + =

Display
Zoom out

↑   Shift + ⌘ Cmd + -

Display
Toggle Sidebar visibility

⌘ Cmd + B

Display
Show Explorer / Toggle focus

↑   Shift + ⌘ Cmd + E

Display
Show Search

↑   Shift + ⌘ Cmd + F

Display
Show Source Control

Control + ↑   Shift + G

Display
Show Debug

↑   Shift + ⌘ Cmd + D

Display
Show Extensions

↑   Shift + ⌘ Cmd + X

Display
Replace in files

↑   Shift + ⌘ Cmd + H

Display
Toggle Search details

↑   Shift + ⌘ Cmd + J

Display
Show Output panel

↑   Shift + ⌘ Cmd + U

Display
Open Markdown preview

↑   Shift + ⌘ Cmd + V

Display
V Open Markdown preview to the side

⌘ Cmd + K then V

Display
Z Zen Mode (Esc Esc to exit)

⌘ Cmd + K then Z

Debug
Toggle breakpoint

F9

Debug
Start/Continue

F5

Debug
Stop

↑   Shift + F5

Debug
Step into

F11

Debug
Step out

↑   Shift + F11

Debug
Step over

F10

Debug
Show hover

⌘ Cmd + K then ⌘ Cmd + I

Integrated terminal
Show integrated terminal

Control + `

Integrated terminal
Create new terminal

Control + ↑   Shift + `

Integrated terminal
Scroll up/down

⌘ Cmd + ↑  ↓

Integrated terminal
Scroll page up

Page Up

Integrated terminal
Scroll page down

Page Down

Integrated terminal
Scroll to top

⌘ Cmd + Home

Integrated terminal
Scroll to bottom

⌘ Cmd + End

Similar combinations for other applications


Coda for iOS
Find next
General

⌘ Cmd + G


App Maker
Find next
Code editor shortcuts - Mac

⌘ Cmd + G


RStudio (Mac)
Find Next
Source

⌘ Cmd + G


Substance Painter (Mac)
Group layer
Non-editable shortcuts

⌘ Cmd + G


TextMate
Find next
General

⌘ Cmd + G


Final Cut Pro X
Create a storyline from a selection of connected clips
Editing

⌘ Cmd + G


GeoGebra
Show/Hide selected objects
Mac desktop

⌘ Cmd + G


Ableton Live 10 (Mac)
Group/Ungroup Devices
Working with Plug-Ins and Devices

⌘ Cmd + G


Adobe Illustrator (Mac)
Group the selected artwork
Work with selections

⌘ Cmd + G


Sketch
Group selection
Arranging layers

⌘ Cmd + G


QuickBooks Desktop (Mac)
Edit > Go To Transfer
Editing

⌘ Cmd + G


Ace Editor (Mac)
Find next
Find / replace

⌘ Cmd + G


Adobe Bridge CC (Mac)
Group as stacks
Stacks menu

⌘ Cmd + G


Total War: Attila (Mac)
Toggle locked group
Battles: Unit / group

⌘ Cmd + G


Adobe Lightroom Classic (Mac)
Group into stack
Comparing photos in the Library module

⌘ Cmd + G


Adobe Animate CC (Mac)
Group
Edit and modify

⌘ Cmd + G


Kindle for Mac
Go to Location
Reading a Book

⌘ Cmd + G


Adobe Dimension CC (Mac)
Group
Object menu

⌘ Cmd + G


Roll20
Text tool
Tools

⌘ Cmd + G


Autodesk SketchBook (Mac)
Add Group
Tools

⌘ Cmd + G


Adobe Premiere Pro (Mac)
Group
Clip

⌘ Cmd + G


Corel Painter (Mac)
Group
Layer selection tools

⌘ Cmd + G


GitHub
Find next
Source code editing

⌘ Cmd + G


Pixelmator Pro
Group layers
Work with layers

⌘ Cmd + G


Adobe XD (Mac)
Group
Object menu

⌘ Cmd + G


IntelliJ IDEA (macOS)
Find next
Search and replace

⌘ Cmd + G


AWS Cloud9 IDE (Mac)
Find Next
Find

⌘ Cmd + G


CodeMirror
Find next
General (Mac)

⌘ Cmd + G


Brackets
Find next
General

⌘ Cmd + G


Apple iBooks
Find next
General

⌘ Cmd + G


Apple GarageBand
Turn Snap to Grid on/off
General

⌘ Cmd + G


Apple Pages
Find next
Using editing tools

⌘ Cmd + G


Xcode
Find the next occurrence of the selection (equivalent to the Find Next command)
Other system and application shortcuts

⌘ Cmd + G


Apple macOS
Find Again: Find the next occurrence of the item previously found. To find the previous occurrence, press Command + Shift + G
Cut, copy, paste, and other common shortcuts

⌘ Cmd + G


CoffeeCup Web Editor
Find next
Search

⌘ Cmd + G


Skype
New group
New Skype shortcuts (Mac)

⌘ Cmd + G


Adobe Acrobat 2017 (Mac)
Move to next search result and highlight it in the document
General navigating

⌘ Cmd + G


Final Draft 11 (Mac)
Go to
Cmd key

⌘ Cmd + G