DEV Community

Cover image for Productivity Tips
Sammy Abukmeil
Sammy Abukmeil

Posted on • Edited on

1 3

Productivity Tips

Keyboard shortcuts in this post:

  1. Switch between apps
  2. Change multiple lines of code

Switch between apps

Keybinding:

  • Mac - CMD + TAB
  • Windows - ALT + TAB

Gif showing the CMD + ALT keybind in action

To switch between open apps:

  • Hold CMD / ALT
  • Press TAB as many times until you get to the app you want to switch to
  • Release CMD

The two most recent apps will always be first in the list

Once you've got the two apps you want to switch between at the start:

  • Quickly CMD + TAB and let go

Change multiple lines of code

Keybinding:

  • Mac - CMD + D
  • Windows - CTRL + D

Gif showing the CMD + D keybind in action

To select multiple occurrences of some text:

  • Highlight the first instance of that text
  • Hold CMD and press D to add the next occurrence to your selection
  • Press D as many times as there are occurrences
  • Let go of CMD and start typing / using your arrow keys

Billboard image

The fastest way to detect downtimes

Join Vercel, CrowdStrike, and thousands of other teams that trust Checkly to streamline monitoring.

Get started now

Top comments (0)

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

👋 Kindness is contagious

Dive into an ocean of knowledge with this thought-provoking post, revered deeply within the supportive DEV Community. Developers of all levels are welcome to join and enhance our collective intelligence.

Saying a simple "thank you" can brighten someone's day. Share your gratitude in the comments below!

On DEV, sharing ideas eases our path and fortifies our community connections. Found this helpful? Sending a quick thanks to the author can be profoundly valued.

Okay