Obscure and Valuable Keyboard Shortcuts
If there is one thing that many of us in the design and development fields love, it is shortcuts. Those lovely little timesavers and workflow improvers that quickly get us where we need to go in fewer motions. Effectively keeping us in stride, as we navigate our computers and various apps using the shortcuts that we have picked up along the way. But even the most alert of those among us will have numerous hotkeys go under our radar, as there are just so many out there.
So in this quest to find some useful and obscure hotkeys we turned, as we do from time to time, to the faithful followers and friends of the Smashing team. With days of amazing answers to sift and sort through, we have compiled a truly exciting list of keyboard shortcuts that may not be that widely known. So we hope that our readers find this post as helpful as we imagine that they will.
Mac
ALT
+CMD
+SPACE
to search in finderCMD
+ALT
+Left/Right
to switch between tabsCMD
+L
to access the input fieldCMD
+`
on a mac to tab through application windowsCMD
+OPT
+ESC
to Force Quit appsCMD
+Tab
to cycle through open apps on MacCMD
+H
to hide the windowCMD
+ALT
+H
to hide other windowsShift
+CMD
+I
when in safari opens a mail with the link of the current page in itCMD
+T
followed byCMD
+K
to perform a search in a new tabALT
+CMD
+Eject
put the mac to sleepCMD
+Shift
+A
to autofill forms in SafariOPT/CMD
+arrow keys
- also holdShift
to select. Makes it easy to delete multiple words/lines quicklyCMD
+OPT
+Shift
andV
to paste without coping the formatting of what you pastedCTRL
+OPT
+CMD
+8
. Inverts Mac screen colorsCMD
+Shift
+4
. Saves a snapshot of a selected area to the desktop (You can then press spacebar to cycle between a crosshair or window selection)CMD
+CTRL
+Shift
+4
= snap a screen a picture of a marquee area of the screen and copy it to clipboardCMD
+SPACE
to open spotlightCTRL
+OPT
+CMD
+Eject
Quits all applications and shuts the computer downCMD
+E
to eject selected volume on the MacCTRL
+Shift
+CMD
+3
for clipboard - screenshot, compared to print-screen on PCsCMD
+,
on a Mac to access current app preferencesCMD
+OPT
click and drag creates an alias of the file where you drag itCMD
+Delete
to move to trashCMD
+Shift
+Delete
to empty the trash from FinderCTRL
+OPT
+CMD
+.
= increase contrastCTRL
+OPT
+CMD
+,
= decrease contrastCMD
+OPT
+D
to hide/unhide the dock
Windows
CTRL
+INS
to copy,Shift
+INS
to paste,Shift
+Delete
to cut. Such an underappreciated series of hotkeys.CTRL
+0
to return web page to 100% (default) zoom levelCTRL
+Shift
+Eject
to turn off monitorCTRL
+Shift
+ESC
on windows to get to task manager directly- Win7:
WIN
+M
to minimize all opened windows WIN
+Left/Right
to put windows side by side. Nice live coding method.CTRL
+K
+D
this hotkey indents html and c# code nicelyWIN
+D
(return to desktop)ALT
+BACK
to backspace by the word rather than by the character- win:
Shift
+Delete
delete files without saving to trash bin
Linux
CTRL
+ALT
+T
to open Terminal on Ubuntu. I can't live without it now
Photoshop / Illustrator
CMD
+Shift
+C
in Photoshop to copy the merged selection (save's you the step of merging your file then undoing!)- In Photoshop -
CMD
+ALT
+0
to resize the window to 100% is essential for web designers! Shift
+ALT
+CMD
+S
(win:CTRL
+Shift
+ALT
+S
)... Save for web in PhotoshopCTRL
+Shift
+C
flatten and copy with transparency, Photoshop- Illustrator
CTRL
+7
to crop image - Photoshop:
CTRL
+Shift
+ALT
+E
merges all visible layers to a new layer on top of the others without deleting them
Firefox / Chrome
CTRL
+Shift
+E
for Edit CSS (Firefox/Webmasters Toolbar)CMD
+Shift
+C
Inspect Element // Firefox—Firebug // Chrome—Developer ToolsCTRL
+Shift
+T
to open closed tabs FF Chrome, andCTRL
+Shift
+N
to open closed windows FF- Firefox
CTRL
+L
to enable retyping of a web address ESC
hides the mousepointer (in browser). Great for Screenshots
Honorable Mention: Mouse Gestures
"I almost stopped using hot keys when started using mouse gestures, both in ff and chrome"
- Press
Shift
and scroll your mousewheel. Scrolls horizontally on the page - Click on links using mousewheel in FF & Chrome and links open automatically in new tab
nice list. Quite a few I didn’t know on there.
A few more (which deserve mention):
Mac:
Cmd+Shift+3: Printscreen saved to desktop.
Windows:
Ctrl+D: Jump to desktop.
Also, the Middle mouse button/mouse wheel click works in IE as well (versions over 7 only). Also, Middle mouse button/wheel click on the tab to close it (which also works in Visual Studio and SQL Server 2005+)
Jump to desktop on Windows is of course Win+D, and not (as stated) CTRL+D
Excellent list. Great collection!!
a couple more that are useful
mac
cmd+opt+esc = force quit prompt
windows
win+r = run prompt
win+l = logout or log in prompt, unsure
cheers
Win+L is lock workstation. :)
To continue with the Windows/win key theme:
win+d – Show desktop
haha some are pretty random!
That they are. Guess when we asked for obscure &/or valuable shortcuts we opened the door for a touch of randomness. :)
Noupe Editorial Team
A few I use as well :)
– F12 brings up Firebug and the Development Tools in IE
– Ctrl+Shift+J shows the js console in chrome
Ctrl+Shift+J it’s also the keyboard shortcut for the js console in Firefox (at least the Ubuntu version).
By the way, there are a lot of useful keyboard shortcuts for Linux, it’s a shame you mentioned only one :)
Thanks for the contributions, Felix!
Yeah, George, it was sad to see it under-represented in the answers we received from our followers, but we didn’t want to leave out the one that got sent our way. By all means, drop in a few more in the comments for our readers!!
Noupe Editorial Team
haha! mac has the most shortcuts… take a look at PC… just a few shortcuts! but wait where’s Internet Explorer? why is it missing? oh wait, internet explorer is only used to download mozila/chrome/safari! :)
I think that’s because Mac users use their keyboards more than non-Mac users, so they’ll know more of them. I swear, I could take the mouse away from my Mac-using coworkers and it’d take them at least a week to notice!
There are actually a *lot* more keyboard shortcuts for both Windows and Linux then mac, and I use all three daily (I prefer Mac, then Linux, then windows). You *can’t* completely navigate your mac without a mouse without changes, but you sure can in both windows and Linux (depending on the desktop environment).
I honestly use my keyboard way more then a mouse in windows … because it is faster… and I have used windows since version 1, and I had no mouse until windows 95. :D
Thanks for all the kind words and helpful additions to the list! Great to see.
Noupe Editorial Team
Note that you can combine most “Switch” (applications, windows) commands with the shift key to switch in the opposite direction.
Furthermore I want to note that the OSX Shortcut for tabbing through application windows (CMD + `) is CMD+< if you are working on QWERTZ keyboard (most german speaking people)
Not to forget my favorite windows shortcut
WIN + E to open an explorer window
For Firefox with WebMaster Toolbars:
Ctrl + Shift + S to disable CSS on the current page. Useful for checking your source order.
Nice collection thanks for sharing :D
>> CTRL + Shift + Eject to turn off monitor
Wtf is the “eject” key on windows keyboards?
>> ESC hides the mousepointer (in browser). Great for Screenshots
Does not work (Win7/FF). When you make a screenshot via “PrintScreen”, the Cursor is hidden automatically.
Another good Shortcut:
Win+R – Run
Someone runs Bootcamp, methinks.
@steff
There are much more Shortcuts on windows.
A few more that I use a lot every day:
Ctrl + Tab: works in PS, DW, AI, FL, FF, IE, Chrome etc – rotates through opened files/tabs.
Ctrl + Shift + Tab: same as above but in reverse.
Win + number on keyboard will jump to or open programs that are pinned in that order. So if PS is your first pinned program, you will get focus or open that program.
Ctrl + Shift + E in FF4 and above gives you tab grouping where you can sort opened tabs, great for clumping time wasters in one group so you can focus on work.
win + number (or alt+number, can’t remember which, don’t like Unity) also works on versions of Ubuntu with Unity (11.04+).
Why so complicated with cut, copy and paste… has always been easier as:
CTRL+X = Cut
CTRL+C = Copy
CTRL+V = Paste
Hence college paper plagiarism being colloquially referred to as in the example:
Student A: “Don’t you have a 4 pager due tomorrow, man” (Applies flame to water pipe).
Student B: “Yeah man” (pulls slide form water pipe for friend) “but it’ll be an hour of CTRL C CTRL V and I’m done”
I was thinking of buying a mac but didn’t want to relearn everything as far as shortcuts. They don’t seem so bad here.
“CTRL + Shift + Eject to turn off monitor”
…wheres the “EJECT” KEY???
UNIX
ctrl+r then type a keyword from a previous command
absolute pure genius and, I think you’ll agree, worthy of resurrecting this old thread :)