For information about keyboard accessibility, see How to: Use Keyboard Navigation.
Many Mac owners swear that keyboard shortcuts help simplify their lives. If you’re new to a Mac, learning all the available keyboard shortcuts can be a real challenge. By pressing certain key combinations, you can do things that normally need a mouse, trackpad, or other input device. To use a keyboard shortcut, press and hold one or more modifier keys and then press the last key of the shortcut. For example, to use Command-C (copy), press and hold the Command key, then the C key, then release both keys. Some Windows keyboard shortcuts conflict with the corresponding default Mac OS keyboard shortcuts. This topic flags such shortcuts with an asterisk (. ). To use these shortcuts, you may have to change your Mac keyboard settings to change the Show Desktop shortcut for the key. Change system preferences for keyboard shortcuts with the mouse. Sep 06, 2011 Click on “Keyboard” and then select “Keyboard Shortcuts” From the list on the left, choose “Mission Control” Check the boxes next to “Switch to Desktop 1” and “Switch to Desktop 2” – this will be Desktop 3, 4, 5, etc, if you use many Desktop Spaces.
You can access a variety of commands in Visual Studio for Mac by using the appropriate keyboard shortcut. This document lists the default shortcuts for the Visual Studio for Mac key binding scheme. For more information about how to change the key binding scheme, see Customizing the IDE. You can also customize shortcuts for a command using the Visual Studio for Mac > Preferences menu item and choosing Environment > Key Bindings in the Preferences window.
Tip
The keyboard shortcuts displayed in this document, and the key binding preferences in Visual Studio for Mac, are presented using the symbols commonly used in macOS. If you are unsure of a symbol, review the macOS key symbols loopkup table.
We have compiled the most used, and most useful, keyboard shortcuts into a downloadable pdf file. We have two versions,one that shows shortcuts for Visual Studio for Mac, and a version that shows Visual Studio shorts side-by-side for usersthat have prior experience with Visual Studio when using Windows.
Sep 22, 2020 Apple's M1 chip is the fastest chip that Apple has ever released in a Mac based on single-core CPU benchmark scores, and it beats out many high-end Intel Macs when it comes to multi-core performance.
Commands | Keyboard shortcuts |
---|---|
Find References | ⇧⌘R, F12 |
Go to Declaration | ⌘D, F12 |
Next Error | ⌥⇧⇟, ⇧⌘F12 |
Next Issue in File | ⌥⇟ |
Previous Error | ⌥⇧⇞ |
Previous Issue in File | ⌥⇞ |
Commands | Keyboard shortcuts |
---|---|
Enable or Disable Breakpoint | ⌥⌘/, ⌘F9 |
Pause | ⌥⌘P, ⌥⌘L5 |
Remove All Breakpoints | ⇧⌘F9 |
Run To Cursor | ⌘F10 |
Set Next Statement | ⇧⌘F10 |
Show Next Statement | ⌥* |
Step Into | ⇧⌘I, ⌘F11 |
Step Out | ⇧⌘U, ⇧⌘F11 |
Step Over | ⇧⌘O, F10 |
Toggle Breakpoint | ⌘, F9 |
View Breakpoints | ⌥⌘B |
Commands | Keyboard shortcuts |
---|---|
Switch between related files | ⌃⌘↑ |
Commands | Keyboard shortcuts |
---|---|
Constraint Editing Mode | ⌘E |
Copy | ⌘C |
Cut | ⌘X |
Delete | ⌘⌫ |
Format Document | ⌃I |
Indent Selection | ⌘] |
Paste | ⌘V |
Preferences | ⌘, |
Redo | ⇧⌘Z |
Rename | ⌘R, F2 |
Select All | ⌘A |
Show Code Generation | ⌘I |
Toggle All Folds | ⌥⇧⌘↑ |
Toggle Definitions | ⌥⇧⌘↓ |
Toggle Fold | ⌥⇧⌘← |
Toggle Line Comment(s) | ⌘/ |
Undo | ⌘Z |
Unindent Selection | ⌘[ |
Update Frame from Constraints | ⇧⌘R |
Commands | Keyboard shortcuts |
---|---|
Clear F# Interactive | ⌃⌥C |
F# Interactive | ⌃⌥F |
Restart F# Interactive | ⌃⌥R |
Send line to F# Interactive | ⌃⌥L |
Send references to F# Interactive | ⌃⌥P |
Send selection to F# Interactive | ⌃⏎ |
Commands | Keyboard shortcuts |
---|---|
Close All | ⇧⌘W |
Close File | ⌘W |
Close Workspace | ⌥⌘W |
New File | ⌘N |
New Solution | ⇧⌘N |
Open | ⌘O |
⌘P | |
Quit | ⌘Q |
Revert | ⌘U |
Save | ⌘S |
Save All | ⇧⌘S |
Commands | Keyboard shortcuts |
---|---|
API Documentation | ⌥⌘? |
Unity API Reference | ⌘' |
Commands | Keyboard shortcuts |
---|---|
Implement Unity Messages | ⇧⌘M |
Inspect | ⌥⌘I |
Commands | Keyboard shortcuts |
---|---|
Add Files | ⌥⌘A |
Build | ⌘K, ⇧F6 |
Build All | ⌘B, F6 |
Clean | ⇧⌘K |
Rebuild | ⌃⌘K |
Rebuild All | ⌃⌘B |
Start Debugging | ⌘⏎, F5 |
Start Without Debugging | ⌥⌘⏎, ⌃F5 |
Stop | ⇧⌘⏎, ⇧F5 |
Commands | Keyboard shortcuts |
---|---|
Import Symbol | ⌃⌥␣ |
Quick Fix | ⌥⏎ |
Commands | Keyboard shortcuts |
---|---|
Command | ⇧⌘P |
Find in Files | ⇧⌘F |
Find Next | ⌘G, F3 |
Find Next Like Selection | ⌘E, ⌘F3 |
Find Previous | ⇧⌘G, ⇧F3 |
Find Previous Like Selection | ⇧⌘F3 |
Find | ⌘F |
Go to File | ⇧⌘D |
Go to Line | ⌘L |
Go to Type | ⇧⌘T |
Navigate To | ⌘. |
Replace in Files | ⌥⇧⌘F |
Replace | ⌥⌘F |
Commands | Keyboard shortcuts |
---|---|
Complete Word | ⌃␣ |
Delete left character | ⌃H |
Delete next subword | ⌃⌦ |
Delete next word | ⌥⌦ |
Delete previous subword | ⌃⌫ |
Delete previous word | ⌥⌫ |
Delete right character | ⌃D |
Delete to end of line | ⌃K |
Dynamic abbrev | ⌃/ |
Expand selection | ⌥⇧↓ |
Expand selection | ⌥⇧↑ |
Expand selection to document end | ⇧⌘↓, ⇧⌘↘ |
Expand selection to document start | ⇧⌘↑, ⇧⌘↖ |
Expand selection to line end | ⇧↘, ⇧⌘→ |
Expand selection to line start | ⇧↖, ⇧⌘← |
Expand selection to next line | ⇧↓ |
Expand selection to next word | ⌥⇧→ |
Expand selection to page down | ⇧⇟ |
Expand selection to page up | ⇧⇞ |
Expand selection to previous line | ⇧↑ |
Expand selection to previous word | ⌥⇧← |
Expand selection to the left | ⇧← |
Expand selection to the right | ⇧→ |
Find caret | ⌘| |
Go left one character | ⌃B |
Go right one character | ⌃F |
Go to beginning of document | ⌘↑ |
Go to beginning of line | ⌘←, ⌃A |
Go to end of document | ⌘↓ |
Go to end of line | ⌘→, ⌃E |
Go to Matching Brace | ⇧⌘ |
Go to next line | ⌃N |
Go to next word | ⌥→ |
Go to previous line | ⌃P |
Go to previous word | ⌥← |
Insert line break after the caret | ⌃O |
Move caret to EOL and insert new line | ⇧⏎ |
Move the line or highlighted selection down | ⌥↓ |
Move the line or highlighted selection up | ⌥↑ |
Move to next usage | ⌃⌥⌘↓ |
Move to prev usage | ⌃⌥⌘↑ |
Show Parameter List | ⌃⇧␣ |
Show quick info | ⌘F1 |
Show Scopes | ⌥⇧⌘P |
Transpose characters | ⌃T |
Wrap with <div> | ⌥⇧W |
Commands | Keyboard shortcuts |
---|---|
Center and Focus Document | ⌃L |
Focus Document | F7 |
Full Screen | ⌃⌘F |
Move to Next Notebook | ⌥⌘→ |
Move to Previous Notebook | ⌥⌘← |
Navigate Back | ⌃⌘← |
Navigate Forward | ⌃⌘→ |
Normal Size | ⌘0 |
One Editor Column | ⌥⌘1 |
Show Next | ⌥⌘↓, F8 |
Show Previous | ⌥⌘↑, ⇧F8 |
Two Editor Columns | ⌥⌘2 |
Zoom In | ⌘+, ⌘= |
Zoom Out | ⌘-, ⌘_ |
Commands | Keyboard shortcuts |
---|---|
Activate 1 | ⌘1 |
Activate 2 | ⌘2 |
Activate 3 | ⌘3 |
Activate 4 | ⌘4 |
Activate 5 | ⌘5 |
Activate 6 | ⌘6 |
Activate 7 | ⌘7 |
Activate 8 | ⌘8 |
Activate 9 | ⌘9 |
Hide Others | ⌥⌘H |
Hide Visual Studio | ⌘H |
Minimize | ⌘M |
Next Document | ⌘}, ⌘F6 |
Previous Document | ⌘{, ⇧⌘F6 |
Switch to next document | ⌃⇥ |
Switch to next tool window | ⌃⌥⇥ |
Switch to previous document | ⌃⇧⇥ |
Switch to previous tool window | ⌃⌥⇧⇥ |
Symbol | Key |
---|---|
⌘ | Command (cmd) |
⌥ | Option (alt) |
⇧ | Shift |
⌃ | Control (ctrl) |
⇞ | Page Up (Pg Up) |
⇟ | Page Down (Pg Dn) |
⌫ | Delete (Backspace) |
⌦ | Forward Delete |
⏎ | Return |
←→↑↓ | Arrow Keys |
↖ | Home |
↘ | End |
␣ | Space Bar |
⇥ | Tab |
Humanity should be grateful for the invention of Mac hotkeys. They probably saved us thousand years of time if put together. There is something addictive in using shortcuts - the quickness, the feeling of a keyboard, the geeky confidence in your fingers when you realize “hurray it works!” Once you get hooked on shortcuts, you’ll never go back to clicking again.
Sometimes an app that you thought you quit is still secretly running in the background. When your Mac lags and you need some fresh memory, you may choose to quit all apps. You probably heard of Force Quit (Cmd + Option + Esc), but it’s a too long way to do it.
Quit many apps in a row: Cmd + Tab
Then, holding down Cmd press Q to cycle between apps you need to close.
Dragging files to the Trash? Wait, this is not the only option. Here’s a shortcut to quickly delete unwanted files on a Mac, bypassing the Trash. Caution: there’s no way back.
To completely delete a file: Option + Cmd + Delete
Cmd + Shift + 4 is an old classic way to make a screenshot on a Mac. But here comes the combination to take your screenshotting skills to the new level. Normally you would make a screenshot, pick it from your desktop, and only then paste it to the new location. It appears, all this time you could do it easier.
To copy-paste a screenshot: Shift + Control + Cmd + 4
Sometimes your screen is so obscured by windows it would take years to click through to the desktop. Thank goodness, there is a Mac keystroke combination designed for people like us: the folks who are drowning in an ocean of windows.
To remove window overload: Cmd + F3
Spotlight, your Mac’s internal search engine, can make your life 1000% easier. It finds files faster than Finder and intuitively predicts what are you after. To open Spotlight right on the spot (sorry for the pun), use this magic combo.
To launch Spotlight search: Cmd + Space bar
A truly psychedelic key combination. Mac mini pro tools. This shortcut inverts all the colors on your Mac's screen to their opposites. Try it, and your world will never be the same. On the flip side, you can find a few practical applications for this command, for example, to adjust your screen to different lighting.
To invert colors on screen: ?md + Option + F5
This one can be a real savior if you accidentally closed an important tab in a browser, like that pancake recipe or payment confirmation. There’s an easy Mac keyboard shortcut to restore it.
To restore a closed tab: Cmd + Shift + T
No, the following Mac shortcut is not about the force shutdown. It’s used when you need to quickly close all dialog windows and shut down your Mac in a legit way. Learn this one, quickly finish your work and finally go outside.
To quickly shut down a Mac: Control + Option + Command + Eject
Among all Mac keyboard commands, this is the easiest. Since Siri’s arrival to macOS we got used to talk to Siri about weather and even ask her to play our favorite tracks on Mac. If you are using macOS Sierra or higher, you’ll enjoy the ability to summon Siri using just one hand.
To launch Siri: Cmd + Space bar
Well, not exactly a shortcut, but indeed the quickest way to get more storage on your Mac.
Download CleanMyMac + Install + Click Smart Scan
This combination of actions will free up dozens of gigabytes of space taken by garbage: unwanted files, system junk, app leftovers, etc. CleanMyMac removes about 54 GB of junk on an average Mac. Try and see how it cleans your Mac.
CleanMyMac is available for a free download here.
Finder is quite a resource-demanding tool. When you open a new Finder window it usually takes some time. For quicker access to your main destinations like Applications or Desktop, you can use the following shortcut combinations.
To quickly access Finder folders:
Handbrake mac mp4 to avi. Cmd + Shift + A (for Applications)
Cmd + Shift + U (for Utilities)
Cmd + Shift + D (for Desktop)
Having hundreds of opened tabs in a browser has become a widespread syndrome nowadays. Closing tabs with a mouse is not only frustrating but also may freeze up your browser. Using a direct shortcut makes this job easy as a morning walk.
To close a current tab in Chrome: Cmd + W
To close a Chrome window: Cmd + Shift + W
To open a new Chrome tab: Cmd + T
You want to copy a piece of the text, but the old formatting drags along with it. Now you spend more time formatting rather than actually creating a text. To strip the text from old styling, use the following Mac hotkeys combination. A very good one to stretch your fingers.
To paste text without formatting:
Hold down Shift + Option + Command and hit V
Probably this is the easiest documented shortcut key for a Mac. To enter special symbols, like those lamdas, tildas, and alfas, you need to press just one key. For instance, if you need to type a modified E, hold down the E key for one second and then choose among available variations that appear.
To enter an alternate character: Hold down the character key
To paste emojis in the text: Press Control + Command + Space
You won’t believe, but 8000 people are googling how to do a strikethrough text on a Mac everyday. Cyberduck 6 8 3 – ftp and sftp browser plugin. Although some applications don’t support it, this combination well works in TextEdit and Word. Now you can use it in every second line to add some roughness to your writing.
To apply strikethrough formatting: Cmd + Shift + X Soulver 3 2 2 1 format media writing.
The next combination works for most apps that allow printing. You don’t need to figure out where the print dialogue is located in every case. Just memorize this quick combination and send your files to print from anywhere.
To invoke a print dialogue: Cmd + P
Camera app on mac.
There comes a time when you need to do a spring cleaning on your Mac: sort out old garbage, move photos to an external drive, or clean up your old downloads. It is time-consuming and takes an immense willpower simply to start. But lucky you are: there are a few shortcuts to remove large heaps of files as quickly as if you had a machete.
To select folder contents: Cmd + A
To delete a group of files after selection: Cmd + Delete
To empty the Trash: Cmd + Shift + Delete
If you’ve got many files left after backing up, this will save you a good deal of time moving them to the Trash bin.
To save you from a headache, there are apps that will do the mundane deletion job in an instant. CleanMyMac is perhaps the most reliable one. It has a tool that specifically searches for Large & Old files on your drive for a quick cleanup. CleanMyMac is available for a free download. So, check it out.
This was our take on most useful keyboard shortcuts for Mac. Thanks for reading. Below you'll find a few more links about Mac and productivity.