DEV Community

Cover image for Productivity Tips
Sammy Abukmeil
Sammy Abukmeil

Posted on • Updated on

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

Top comments (0)