DEV Community

Margarita Potylitsyna
Margarita Potylitsyna

Posted on

1

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"

Image of Timescale

🚀 pgai Vectorizer: SQLAlchemy and LiteLLM Make Vector Search Simple

We built pgai Vectorizer to simplify embedding management for AI applications—without needing a separate database or complex infrastructure. Since launch, developers have created over 3,000 vectorizers on Timescale Cloud, with many more self-hosted.

Read more

Top comments (2)

Collapse
 
amnezia profile image
Max Jamesin

thanks, I've discover few useful shortcuts

Collapse
 
ritumka profile image
Margarita Potylitsyna

Always welcome!

Eliminate Context Switching and Maximize Productivity

Pieces.app

Pieces Copilot is your personalized workflow assistant, working alongside your favorite apps. Ask questions about entire repositories, generate contextualized code, save and reuse useful snippets, and streamline your development process.

Learn more