8 Useful Things You Can Do With Your Mac’s Command Key

Akshata Shanbhag 25-07-2016

Did you know that your Mac has a hidden word autocomplete feature? Or that holding down specific keys, such as A, brings up a set of special characters? I didn’t.



I keep discovering useful shortcuts even after a year of using a Mac, and I’d like to share some of them with you. They involve the Command key or the Apple key that’s on either side of the spacebar on an Apple keyboard.

Today we’ll take a look at some of the lesser-known tasks that you can take care of with this modifier key.

Duplicate Files & More

Want to make a copy of a file in the same location as the original in Finder? There’s no need to use two keyboard shortcuts (command+c and command+v) when one will do, and that’s command+d. This shortcut duplicates the selected file.

Remember the confirmation dialog that pops up when you close a file with unsaved changes?don't-save-option


If you don’t want to save the changes, make the dialog disappear with command+d. That’s equal to clicking on the Don’t Save option in the dialog, or switching to the Desktop as the “save location” in apps where the confirmation dialog looks like this:


command+d has a different function in Safari and other mainstream browsers — it adds the active webpage to your bookmarks. If you want to save the webpage to your reading list in Safari, throw in the Shift key as well i.e. use command+shift+d.

Pinpoint a File’s Location

When you search for a file (or a folder) in Spotlight, you get a link to open the file, but you can’t see where that file is located on your hard drive. Hit command+enter and you can. If it’s Finder’s search function that you’re using, use command+r (instead of command+enter) to view a search result in its enclosing folder.


Hide Apps

App windows piled on top of one another can be distracting — the opposite of a minimalist, efficient Mac experience 9 Tips For a Minimalist & More Efficient Mac Experience Your Mac's interface is clean and beautiful as it is, but with a few tweaks here and there, you can polish it up some more for a more pleasant desktop experience. Read More . One way to get rid of this app clutter is to maximize apps or go full screen but if you don’t want to do that, hit command+h to hide apps one by one. You don’t have to make an app active to hide it with this shortcut. You can hide the app right from the app switcher. Here’s how:

  1. Hold down the command key.
  2. Hit the tab key once to bring up the app switcher.
  3. Keep pressing tab till the app you want to hide appears highlighted.
  4. Press the h key


Hiding apps one by one is not convenient when you have too many apps open, but this is: command+option+h. This shortcut hides all apps except the active one i.e. the one in the foreground.

If you wish you could hide apps by magic, you need a magic wand — we know of one disguised as a free Mac menu bar utility The Ultimate List of Mac Menu Bar Apps These tiny smart utilities don't get in our way like the dock apps do -- Mac menu bar apps sit in a corner and swing into action only when you need them! Read More called Hocus Focus. Once you install this app, it will do the job of hiding inactive apps after a specific duration of your choice.



Hide the Sidebar in Finder

How did I not know about this one? command+option+s toggles the sidebar in Finder, which is an effective solution if you want to make the sidebar less distracting How to Get a Distraction-Free Computer in 10 Easy Steps Your attention is consumed by distractions. Remove them to increase your focus and productivity. We show you the most common computer-related time suckers and how to disable or block them. Read More without getting rid of too many sidebar items.


Preview Files with Quick Look

We wouldn’t recommend using command+y to preview Finder files using Quick Look 5 Essential Quick Look Tips for Previewing Mac Files Quick Look is a subtle but handy macOS feature. You can get more out of it with these top tips. Read More  when there’s a simpler shortcut (space) available, but we thought that the command+y shortcut is still worth knowing. Use the same shortcut in Safari to view your browser history.


Take a Quick Peek at the Desktop

If you want to access your desktop, even when its hidden behind heavy app clutter, use this shortcut: command+f3. It slides all app windows out of your way to reveal the desktop, allowing you to open, copy, move, and rename desktop files as usual. Hit command+f3 again and all your app windows slide back into place, so you can pick up where you left off.

If the above shortcut isn’t working for you, it’s most likely because the f3 key is working as a standard function key How to Remap Your Mac's Function Keys and Do Anything You Want Here's how to remap your Mac keyboard to boost the function keys, which can do so much more with some customization. Read More , as specified under System Preferences > Keyboard > Keyboard. In this case, you’ll need to add the fn key to the shortcut, which now becomes command+fn+f3.


You can replace the command+f3 shortcut with a custom one via System Preferences > Keyboard > Shortcuts > Mission Control. Look for the Show Desktop item in the panel on the right, check the box for this item, and replace its existing shortcut with the key combination that you would like to use instead.


Open Preferences for Any App

You can bring up the settings pane for any active app by clicking on the app’s name in the menu bar and selecting Preferences from the dropdown menu that appears. Want a shortcut? Hit command+, to open the Preferences dialog super quick, and command+w to make it (and other windows or tabs) disappear just as fast.


Create File Shortcuts

What do you get when you hold down the option key while dragging a file in Finder? A green + sign indicating that you’re making a copy of the file, right? Now hold down the command key as well. You’ll then see a right-facing arrow instead of the + sign. That’s code for creating an alias of the selected file, which is not the same as creating a copy of the file — an alias is a shortcut to the file How to Define Command Line Aliases on Any Operating System We've talked about, and recommended getting to grips with your computer's command line terminal numerous times in the past. Tina wrote a good primer for Windows users with A Beginner's Guide To The Windows Command... Read More . You can create multiple aliases for a single file to make it accessible from various locations.

If you select an alias and hit command+r, Finder takes you to the location of the original file. You’ll need to be careful when you’re deleting aliases; look for the right-facing arrow in the item’s thumbnail in Finder — if it exists, you’re dealing with an alias.

More Command Key Secrets

You can command+click your way through many hidden Mac functions 10 Interesting Things You Might Not Know About the Mac Your Mac hides many features and informational tidbits from you, often in plain sight. Read More . For starters, you can command+click on:

  • a dock icon to reveal its location in Finder
  • an item in the Finder sidebar to open the item in a new window (or tab, if you have set it so in Finder Preferences)
  • on a window title to reveal file/folder hierarchy


command+drag is another shortcut that gives you different useful results. For example, you can command+drag:

  • an app window in the background to move it without bringing it to the front
  • system icons in the menu bar to rearrange them (won’t work for the Spotlight and Notification Center icons)
  • a folder into Terminal to change the directory to that folder
  • discontinuous text snippets in a text editor to select them together


Common Command Key Shortcuts to Know

You might know of these Command key shortcuts already, but they’re worth reviewing:

  • command+space – to search using Spotlight
  • command+z – to undo an operation in Finder and apps like text editors
  • command+f – to start a search in Finder; for in-page searches in other apps (like browsers)
  • command++ – to zoom in
  • command+- – to zoom out
  • command+0 – to switch to the default zoom size i.e. 100%

Time to Take a Shortcut

Dismiss shortcuts at your own risk. The right ones can save you from tedious workflows and turn your day around. The command key is a powerful time-saver that can vastly improve your Mac workflow, and it’s time to make the most of it.

Which command key shortcuts do you use often and wish more people knew about? We’d love to hear about it in the comments!

Related topics: Keyboard Shortcuts, Mac Tricks.

Affiliate Disclosure: By buying the products we recommend, you help keep the site alive. Read more.

Whatsapp Pinterest

Leave a Reply

Your email address will not be published. Required fields are marked *

  1. LeHarveJr
    August 9, 2016 at 6:10 pm


  2. SkankinPenguin
    July 26, 2016 at 12:10 pm

    Hi, maybe you want to give cheatsheet ( It shows all available shortcuts when you hold down the cmd key.

    • SkankinPenguin
      July 26, 2016 at 12:12 pm

      Insert "a try" in the first sentence.

    • Akshata Shanbhag
      July 28, 2016 at 9:16 am

      Nice share, thank you!