DEV Community

Cover image for What's Your Favorite Shortcut?
dev.to staff for The DEV Team

Posted on

What's Your Favorite Shortcut?

_Step into our coding showcase series, where you can elevate your projects, exhibit your coding prowess, and collaborate with like-minded developers._Share your favorite coding shortcut, exchange productivity hacks, and learn from fellow developers.

Follow the DEVteam for more discussions and online camaraderie!

Top comments (26)

Collapse
ย 
adiatiayu profile image
Ayu Adiati โ€ข

ctrl + z all the way! ๐Ÿ˜

Collapse
ย 
grahamthedev profile image
GrahamTheDev โ€ข

Taking a left at Waverley avenue instead of going straight on via Brampton place.

Saves me 5 minutes each time. ๐Ÿ˜œ๐Ÿคฃ๐Ÿ’—

Collapse
ย 
michaeltharrington profile image
Michael Tharrington โ€ข

Thanks dad! ๐Ÿ˜†

Collapse
ย 
ben profile image
Ben Halpern The DEV Team โ€ข

Not writing tests or documentation and then regretting it for years to come.

Collapse
ย 
ranggakd profile image
Retiago Drago โ€ข

๐Ÿ‘๐Ÿ‘„๐Ÿ‘

Collapse
ย 
parzival_computer profile image
Parzival โ€ข

I don't have one favorite but a list of favorites.

General Shortcuts:

  1. Ctrl + C: Copy selected text or item.
  2. Ctrl + X: Cut selected text or item.
  3. Ctrl + V: Paste copied/cut text or item.
  4. Ctrl + Z: Undo the last action.
  5. Ctrl + Y: Redo the last undone action.
  6. Ctrl + S: Save the current file.
  7. Ctrl + F: Find text in a document or web page.
  8. Ctrl + P: Print the current document.
  9. Ctrl + A: Select all (text, files, etc.).
  10. Ctrl + N: Open a new window or tab (browser).
  11. Alt + Tab: Switch between open applications or tabs.
  12. Ctrl + Alt + Del: Open the Task Manager (Windows).

Web Browsing Shortcuts:

  1. Ctrl + T: Open a new tab in your web browser.
  2. Ctrl + W: Close the active tab in your web browser.
  3. Ctrl + Tab: Switch to the next tab.
  4. Ctrl + Shift + Tab: Switch to the previous tab.
  5. F5 or Ctrl + R: Refresh the web page.

Window Management Shortcuts:

  1. Alt + F4: Close the active window.
  2. Win + Left/Right Arrow: Snap the window to the left or right side of the screen (Windows).
  3. Alt + Space, then N: Minimize the active window to the taskbar (Windows).
Collapse
ย 
fjones profile image
FJones โ€ข

Only missing the "oh crap, not that one" shortcut: Ctrl+Shift+T

Collapse
ย 
kurealnum profile image
Oscar โ€ข

Never knew Ctrl + Tab existed. I think I can browse the internet without a mouse now!

Also, you can use Ctrl + L to jump the search bar.

Collapse
ย 
k0msenapati profile image
K Om Senapati โ€ข

Very helpful man!! Thanks

Collapse
ย 
balagmadhu profile image
Bala Madhusoodhanan โ€ข

Windows logo key + period (.) - launches emoji panel

Collapse
ย 
mellen profile image
Matt Ellen-Tsivintzeli โ€ข

also works with windows key + semicolon (;)

Collapse
ย 
michaeltharrington profile image
Michael Tharrington โ€ข

Oooo yeah, good one!

On Mac it's CTRL + CMD + Space ... definitely one I use a bunch!

Collapse
ย 
apetryla profile image
Aidas Petryla โ€ข

ctrl + e
I'm using some browser extension and have ctrl + e set up to switch between recently used tabs. This saves me a lot of time at the end of the day.

PS There are also nice extensions to move the tabs around. Sometimes it's nice to put some related tabs together fast.

Collapse
ย 
iammtander profile image
Mitchell Mutandah โ€ข

Cmd + C and Cmd + V as always.

Guess what? My sister just busted me for going overboard with the letter "C" on her keyboard! ๐Ÿ™ˆ I may have over-"C"-do'ed it a bit and now her keyboard is feeling the "C"raze. Oops! ๐Ÿ˜…๐Ÿฆ„

Collapse
ย 
chantal profile image
Chantal โ€ข

And that sister is just here hahahahahaha.

Collapse
ย 
pradumnasaraf profile image
Pradumna Saraf โ€ข

cmd + c and cmd + v

Collapse
ย 
moopet profile image
Ben Sinclair โ€ข

CTRL-R for searching command history in the shell.

Collapse
ย 
renancferro profile image
Renan Ferro โ€ข

CMD + K My shortcut for committing in WebStorm (Committing is always a feeling of relief ๐Ÿคฃ).