Guia del cheat sheet
VS Code atajos que conviene aprender primero
Esta pagina reune 81 atajos de teclado buscables para VS Code en 10 categorias. Empieza por las categorias principales y despues imprime la ficha si quieres tenerla a mano.
- Cambia de pestana OS para ver atajos de Windows, macOS o Linux.
- Usa / para ir directamente a la busqueda.
- Usa el modo comparar cuando trabajes entre equipos.
- Imprime o guarda la pagina como PDF compacto.
General
6 shortcuts
Show Paleta de comandos
Ctrl+Shift+P
WinCtrl+Shift+P
Mac⌘⇧P
LinuxCtrl+Shift+P
Quick Open / Go to Archivo
Ctrl+P
WinCtrl+P
Mac⌘P
LinuxCtrl+P
New Window
Ctrl+Shift+N
WinCtrl+Shift+N
Mac⌘⇧N
LinuxCtrl+Shift+N
Cerrar ventana
Ctrl+Shift+W
WinCtrl+Shift+W
Mac⌘⇧W
LinuxCtrl+Shift+W
User Settings
Ctrl+,
WinCtrl+,
Mac⌘,
LinuxCtrl+,
Atajos de teclado
Ctrl+KCtrl+S
WinCtrl+KCtrl+S
Mac⌘K⌘S
LinuxCtrl+KCtrl+S
Edicion
19 shortcuts
Cortar line (empty selection)
Ctrl+X
WinCtrl+X
Mac⌘X
LinuxCtrl+X
Copiar line (empty selection)
Ctrl+C
WinCtrl+C
Mac⌘C
LinuxCtrl+C
Move line up/down
Alt+↑/↓
WinAlt+↑/↓
Mac⌥↑/↓
LinuxAlt+↑/↓
Copiar line up/down
Alt+Shift+↑/↓
WinAlt+Shift+↑/↓
Mac⌥⇧↑/↓
LinuxAlt+Shift+↑/↓
Eliminar line
Ctrl+Shift+K
WinCtrl+Shift+K
Mac⌘⇧K
LinuxCtrl+Shift+K
Insert line below
Ctrl+Enter
WinCtrl+Enter
Mac⌘Enter
LinuxCtrl+Enter
Insert line above
Ctrl+Shift+Enter
WinCtrl+Shift+Enter
Mac⌘⇧Enter
LinuxCtrl+Shift+Enter
Jump to matching bracket
Ctrl+Shift+\
WinCtrl+Shift+\
Mac⌘⇧\
LinuxCtrl+Shift+\
Indent / outdent line
Ctrl+]/Ctrl+[
WinCtrl+]/Ctrl+[
Mac⌘]/⌘[
LinuxCtrl+]/Ctrl+[
Go to beginning of line
Home
WinHome
MacHome
LinuxHome
Go to end of line
End
WinEnd
MacEnd
LinuxEnd
Go to beginning of file
Ctrl+Home
WinCtrl+Home
Mac⌘↑
LinuxCtrl+Home
Go to end of file
Ctrl+End
WinCtrl+End
Mac⌘↓
LinuxCtrl+End
Toggle line comment
Ctrl+/
WinCtrl+/
Mac⌘/
LinuxCtrl+/
Toggle block comment
Alt+Shift+A
WinAlt+Shift+A
Mac⇧⌥A
LinuxAlt+Shift+A
Deshacer
Ctrl+Z
WinCtrl+Z
Mac⌘Z
LinuxCtrl+Z
Rehacer
Ctrl+Y
WinCtrl+Y
Mac⌘⇧Z
LinuxCtrl+Y
Formatear documento
Alt+Shift+F
WinAlt+Shift+F
Mac⌥⇧F
LinuxCtrl+Shift+I
Formatear seleccion
Ctrl+KCtrl+F
WinCtrl+KCtrl+F
Mac⌘K⌘F
LinuxCtrl+KCtrl+F
Multi-cursor & Selection
7 shortcuts
Insert cursor above/below
Alt+Ctrl+↑/↓
WinAlt+Ctrl+↑/↓
Mac⌥⌘↑/↓
LinuxAlt+Ctrl+↑/↓
Deshacer last cursor
Ctrl+U
WinCtrl+U
Mac⌘U
LinuxCtrl+U
Seleccionar todo occurrences of current selection
Ctrl+Shift+L
WinCtrl+Shift+L
Mac⌘⇧L
LinuxCtrl+Shift+L
Seleccionar todo occurrences of current word
Ctrl+F2
WinCtrl+F2
Mac⌘F2
LinuxCtrl+F2
Add selection to next find match
Ctrl+D
WinCtrl+D
Mac⌘D
LinuxCtrl+D
Select current line
Ctrl+L
WinCtrl+L
Mac⌘L
LinuxCtrl+L
Column (box) selection
Shift+Alt+drag
WinShift+Alt+drag
Mac⇧⌥drag
LinuxShift+Alt+drag
Search & Replace
8 shortcuts
Buscar
Ctrl+F
WinCtrl+F
Mac⌘F
LinuxCtrl+F
Replace
Ctrl+H
WinCtrl+H
Mac⌥⌘F
LinuxCtrl+H
Buscar next/previous
F3/Shift+F3
WinF3/Shift+F3
Mac⌘G/⌘⇧G
LinuxF3/Shift+F3
Toggle case-sensitive
Alt+C
WinAlt+C
Mac⌥⌘C
LinuxAlt+C
Toggle regex
Alt+R
WinAlt+R
Mac⌥⌘R
LinuxAlt+R
Toggle whole word
Alt+W
WinAlt+W
Mac⌥⌘W
LinuxAlt+W
Search en files
Ctrl+Shift+F
WinCtrl+Shift+F
Mac⌘⇧F
LinuxCtrl+Shift+F
Replace en files
Ctrl+Shift+H
WinCtrl+Shift+H
Mac⌘⇧H
LinuxCtrl+Shift+H
Navegacion
9 shortcuts
Ir a linea
Ctrl+G
WinCtrl+G
Mac⌃G
LinuxCtrl+G
Go to symbol in file
Ctrl+Shift+O
WinCtrl+Shift+O
Mac⌘⇧O
LinuxCtrl+Shift+O
Go to symbol in workspace
Ctrl+T
WinCtrl+T
Mac⌘T
LinuxCtrl+T
Ir a definicion
F12
WinF12
MacF12
LinuxF12
Peek definition
Alt+F12
WinAlt+F12
Mac⌥F12
LinuxAlt+F12
Open definition to side
Ctrl+KF12
WinCtrl+KF12
Mac⌘KF12
LinuxCtrl+KF12
Go back / forward
Alt+←/Alt+→
WinAlt+←/Alt+→
Mac⌃-/⌃⇧-
LinuxAlt+←/Alt+→
Go to next error/warning
F8
WinF8
MacF8
LinuxF8
Show all references
Alt+Shift+F12
WinAlt+Shift+F12
Mac⇧F12
LinuxAlt+Shift+F12
Editor Management
6 shortcuts
Cerrar editor
Ctrl+W
WinCtrl+W
Mac⌘W
LinuxCtrl+W
Cerrar folder
Ctrl+KF
WinCtrl+KF
Mac⌘KF
LinuxCtrl+KF
Split editor
Ctrl+\
WinCtrl+\
Mac⌘\
LinuxCtrl+\
Focus 1st/2nd/3rd editor group
Ctrl+1/2/3
WinCtrl+1/2/3
Mac⌘1/2/3
LinuxCtrl+1/2/3
Move editor left/right
Ctrl+Shift+PgUp/PgDn
WinCtrl+Shift+PgUp/PgDn
Mac⌘⇧PgUp/PgDn
LinuxCtrl+Shift+PgUp/PgDn
New editor group to the left/right
Ctrl+K←/→
WinCtrl+K←/→
Mac⌘K←/→
LinuxCtrl+K←/→
Gestion de archivos
7 shortcuts
Nuevo archivo
Ctrl+N
WinCtrl+N
Mac⌘N
LinuxCtrl+N
Abrir archivo
Ctrl+O
WinCtrl+O
Mac⌘O
LinuxCtrl+O
Save
Ctrl+S
WinCtrl+S
Mac⌘S
LinuxCtrl+S
Save as
Ctrl+Shift+S
WinCtrl+Shift+S
Mac⌘⇧S
LinuxCtrl+Shift+S
Save all
Ctrl+KS
WinCtrl+KS
Mac⌘⌥S
LinuxCtrl+KS
Revert file
—
Win—
Mac—
Linux—
Cerrar all editors
Ctrl+KCtrl+W
WinCtrl+KCtrl+W
Mac⌘K⌘W
LinuxCtrl+KCtrl+W
Display
7 shortcuts
Toggle full screen
F11
WinF11
Mac⌃⌘F
LinuxF11
Toggle sidebar
Ctrl+B
WinCtrl+B
Mac⌘B
LinuxCtrl+B
Mostrar/ocultar terminal
Ctrl+`
WinCtrl+`
Mac⌃`
LinuxCtrl+`
Toggle problems panel
Ctrl+Shift+M
WinCtrl+Shift+M
Mac⌘⇧M
LinuxCtrl+Shift+M
Zoom in/out
Ctrl+=/Ctrl+-
WinCtrl+=/Ctrl+-
Mac⌘=/⌘-
LinuxCtrl+=/Ctrl+-
Reset zoom
Ctrl+0
WinCtrl+0
Mac⌘0
LinuxCtrl+0
Zen mode
Ctrl+KZ
WinCtrl+KZ
Mac⌘KZ
LinuxCtrl+KZ
Debug
7 shortcuts
Toggle breakpoint
F9
WinF9
MacF9
LinuxF9
Start / continue debug
F5
WinF5
MacF5
LinuxF5
Stop debug
Shift+F5
WinShift+F5
Mac⇧F5
LinuxShift+F5
Step over
F10
WinF10
MacF10
LinuxF10
Step into
F11
WinF11
MacF11
LinuxF11
Step out
Shift+F11
WinShift+F11
Mac⇧F11
LinuxShift+F11
Show hover
Ctrl+KCtrl+I
WinCtrl+KCtrl+I
Mac⌘K⌘I
LinuxCtrl+KCtrl+I
Terminal integrado
5 shortcuts
Create new terminal
Ctrl+Shift+`
WinCtrl+Shift+`
Mac⌃⇧`
LinuxCtrl+Shift+`
Copiar selection
Ctrl+C
WinCtrl+C
Mac⌘C
LinuxCtrl+C
Scroll up/down
Ctrl+↑/↓
WinCtrl+↑/↓
Mac⌘↑/↓
LinuxCtrl+↑/↓
Scroll page up/down
Shift+PgUp/PgDn
WinShift+PgUp/PgDn
Mac⇧PgUp/PgDn
LinuxShift+PgUp/PgDn
Scroll to top/bottom
Ctrl+Home/End
WinCtrl+Home/End
Mac⌘Home/End
LinuxCtrl+Home/End
Preguntas frecuentes
What is the fastest way to find VS Code shortcuts on this page?
Use the search box or press /, then type an action such as show command palette.
Can I print this VS Code shortcut cheat sheet?
Yes. Use the Print / PDF button or your browser print command to save a compact cheat sheet.
Does this page include Windows and Mac shortcuts for VS Code?
Yes. Use the OS tabs to switch between Windows and macOS shortcuts. For example, Show Command Palette is Ctrl+Shift+P on Windows and ⌘⇧P on macOS where available.
Advertisement