Skip to content

Instantly share code, notes, and snippets.

@josdem
Last active October 14, 2023 15:42
Show Gist options
  • Save josdem/8c3892987086ffc7138cd1cfacf294da to your computer and use it in GitHub Desktop.
Save josdem/8c3892987086ffc7138cd1cfacf294da to your computer and use it in GitHub Desktop.
VisualStudioCode
# Duplicate a line
Shift + Option + ArrowDown
Alt + Shift + D (To configure)
# Move a line
Alt + Up
Alt + Down
Option + Up
Option + Down
# Delete a line
Control + Shift + K
Command + Shift + K
# Delete unused imports
Alt + Shift + o
# Format code
Shift + Option + F
Control + Shift + I
# Rename all ocurrencies
(Select variable to change) + F2
# Switch cursor from editor to explorer
Ctrl + Shift + E
# Switch tabs
cntl + tab
# Find and replace
Cnrl + H
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment