0% found this document useful (0 votes)
80 views1 page

Keyboard Shortcuts Windows

Keyboard shortcuts for Windows provides shortcuts for general editing, search and replace, file management, navigation, debugging, and other VS Code functions. Some key shortcuts include Ctrl+P for quick open, Ctrl+X/C/V for cut/copy/paste, Ctrl+F for find, Ctrl+S for save, F5 for start/continue debugging, and Ctrl+` to open an integrated terminal. The document contains over 100 keyboard shortcuts to help improve productivity when using VS Code.

Uploaded by

Rashy
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
80 views1 page

Keyboard Shortcuts Windows

Keyboard shortcuts for Windows provides shortcuts for general editing, search and replace, file management, navigation, debugging, and other VS Code functions. Some key shortcuts include Ctrl+P for quick open, Ctrl+X/C/V for cut/copy/paste, Ctrl+F for find, Ctrl+S for save, F5 for start/continue debugging, and Ctrl+` to open an integrated terminal. The document contains over 100 keyboard shortcuts to help improve productivity when using VS Code.

Uploaded by

Rashy
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Keyboard shortcuts for Windows

General
Ctrl+Shift+P, F1

Show Command Palette

Ctrl+P

Quick Open

Ctrl+Shift+N

New window/instance

Ctrl+Shift+W

Close window/instance

Basic editing
Ctrl+X

Cut line (empty selection)

Ctrl+C

Copy line (empty selection)

Alt+ /

Move line up/down

Shift+Alt + /

Copy line up/down

Ctrl+Shift+K

Delete line

Ctrl+Enter

Insert line below

Ctrl+Shift+Enter

Insert line above

Ctrl+Shift+\

Jump to matching bracket

Ctrl+] / [

Indent/outdent line

Home

Go to beginning of line

End

Go to end of line

Ctrl+Home

Go to beginning of file

Ctrl+End

Go to end of file

Ctrl+ /

Scroll line up/down

Alt+PgUp / PgDown

Scroll page up/down

Ctrl+Shift+[

Search and replace

File management

Ctrl+F

Find

Ctrl+N

New File

Ctrl+H

Replace

Ctrl+O

Open File...

F3 / Shift+F3

Find next/previous

Ctrl+S

Save

Alt+Enter

Select all occurences of Find match

Ctrl+Shift+S

Save As...

Ctrl+D

Add selection to next Find match

Ctrl+K S

Save All

Ctrl+K Ctrl+D

Move last selection to next Find match

Ctrl+F4

Close

Alt+C / R / W

Toggle case-sensitive / regex / whole word

Ctrl+K Ctrl+W

Close All

Ctrl+Shift+T

Reopen closed editor

Multi-cursor and selection

Ctrl+K Enter

Keep Open

Alt+Click

Insert cursor

Ctrl+Tab

Open next

Ctrl+Alt+ /

Insert cursor above / below

Ctrl+Shift+Tab

Open previous

Ctrl+U

Undo last cursor operation

Ctrl+K P

Copy path of active file

Shift+Alt+I

Insert cursor at end of each line selected

Ctrl+K R

Reveal active file in Explorer

Ctrl+I

Select current line

Ctrl+K O

Show active file in new window/instance

Ctrl+Shift+L

Select all occurrences of current selection

Ctrl+F2

Select all occurrences of current word

Shift+Alt+

Expand selection

Shift+Alt+

Shrink selection

Shift+Alt +
(drag mouse)

Column (box) selection

Ctrl+Shift+Alt
+ (arrow key)
Ctrl+Shift+Alt
+PgUp/PgDown

Display
F11

Toggle full screen

Shift+Alt+1

Toggle editor layout

Ctrl+ = / -

Zoom in/out

Ctrl+B

Toggle Sidebar visibility

Column (box) selection

Ctrl+Shift+E

Show Explorer / Toggle focus

Ctrl+Shift+F

Show Search

Column (box) selection page up/down

Ctrl+Shift+G

Show Git

Ctrl+Shift+D

Show Debug

Ctrl+Shift+X

Show Extensions

Rich languages editing

Ctrl+Shift+H

Replace in files

Fold (collapse) region

Ctrl+Space

Trigger suggestion

Ctrl+Shift+J

Toggle Search details

Ctrl+Shift+]

Unfold (uncollapse) region

Ctrl+Shift+C

Open new command prompt/terminal

Ctrl+K Ctrl+[

Fold (collapse) all subregions

Ctrl+Shift+Space

Trigger parameter hints

Ctrl+Shift+U

Show Output panel

Ctrl+K Ctrl+]

Unfold (uncollapse) all subregions

Tab

Emmet expand abbreviation

Ctrl+Shift+V

Toggle Markdown preview

Ctrl+K Ctrl+0

Fold (collapse) all regions

Shift+Alt+F

Format document

Ctrl+K V

Open Markdown preview to the side

Ctrl+K Ctrl+J

Unfold (uncollapse) all regions

Ctrl+K Ctrl+F

Format selection

Ctrl+K Ctrl+C

Add line comment

F12

Go to Definition

Ctrl+K Ctrl+U

Remove line comment

Alt+F12

Peek Definition

Ctrl+/

Toggle line comment

Ctrl+K F12

Open Definition to the side

Shift+Alt+A

Toggle block comment

Ctrl+.

Quick Fix

Alt+Z

Toggle word wrap

Shift+F12

Show References

F2

Rename Symbol

Ctrl+Shift+ . / ,

Replace with next/previous value

Ctrl+K Ctrl+X

Trim trailing whitespace

Ctrl+K M

Change file language

Navigation

Debug
F9

Toggle breakpoint

F5

Start/Continue

Shift+F5

Stop

F11 / Shift+F11

Step into/out

F10

Step over

Ctrl+K Ctrl+I

Show hover

Integrated terminal

Ctrl+T

Show all Symbols

Ctrl+G

Go to Line...

Ctrl+P

Go to File...

Editor management

Ctrl+`

Show integrated terminal

Ctrl+Shift+O

Go to Symbol...

Ctrl+Shift+`

Create new terminal

Ctrl+Shift+M

Show Problems panel

Ctrl+F4, Ctrl+W

Close editor

Ctrl+Shift+C

Copy selection

F8

Go to next error or warning

Ctrl+K F

Close folder

Ctrl+Shift+V

Paste into active terminal

Shift+F8

Go to previous error or warning

Ctrl+\

Split editor

Ctrl+ /

Scroll up/down

Ctrl+Shift+Tab

Navigate editor group history

Ctrl+ 1 / 2 / 3

Focus into 1 , 2

Shift+PgUp / PgDown

Scroll page up/down

Alt+ /

Go back / forward

Ctrl+K Ctrl+ /

Focus into previous/next editor group

Ctrl+Home / End

Scroll to top/bottom

Ctrl+M

Toggle Tab moves focus

Ctrl+Shift+PgUp /
PgDown

Move editor left/right

Ctrl+K /

Move active editor group

Other operating systems keyboard shortcuts and additional


unassigned shortcuts available at aka.ms/vscodekeybindings

st

nd

rd

or 3 editor group

You might also like