Useful shortcuts! 🥸

ritumka

Margarita Potylitsyna

Posted on September 20, 2024

Useful shortcuts! 🥸

Visual Studio

Cmd + B - left panel
Cmd + J - toggle terminal panel
Cmd + K - clear terminal
Ctrl + C - interrupt the command
Cmd + Shift + P - command palette
Cmd + P - quick open file
Cmd + ← - jump to the beginning of the line (Ctrl + A)
Ctrl + E - jump to the end of the line
Cmd + / - toggle code comment
Cmd + F - find and replace
Cmd + Shift + F - find and replace global
Cmd + D - find the next selection
Cmd + U - step back
Option + ↓ - move line
Shift + Option + ↓ - duplicate line
Shift + Tab - add/remove tab spaces for multiple lines
Option + Click - add more cursors
Ctrl + Shift + ` - embedded Ruby (ERB) Tag Toggle

Mac OS

Cmd + Space - to launch apps (Spotlight)
Cmd + Tab - to switch between apps
Option + Cmd + ← - to switch between tabs within the same window
Cmd + 1 (2, 3, 4, ...) - to jump straight to a tab number
Cmd + Shift + 3 (or 4) - to take a screenshot
Ctrl + Option + Cmd + ↑ - maximize window
Ctrl + Option + ← - left half
Ctrl + Option + → - right half
Ctrl + scroll up and down (two-fingers on the trackpad) - to zoom the screen

Hard refresh for Chrome

F12, Option + Cmd + J (Mac), Ctrl + Shift + J (Win)
or right click on the refresh button and select "Empty cash and hard reload"

💖 💪 🙅 🚩
ritumka
Margarita Potylitsyna

Posted on September 20, 2024

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related

Useful shortcuts! 🥸
vscode Useful shortcuts! 🥸

September 20, 2024