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

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
 
komsenapati 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
 
pradumnasaraf profile image
Pradumna Saraf

cmd + c and cmd + v

Collapse
 
mitchiemt11 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
 
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 ๐Ÿคฃ).