And hitting option + fn + delete will delete the word on the right from your position in the text;-) Another tick: to jump from one word to another hit option + right or left direction arrow to get to the word you want to delete, it saves you a lot of time when you want to change only a couple of words in a sentence. Open a software application such as a word processor, spread-sheet or any other application in which you need to enter text. On the upper right portion of the screen, click on the American flag icon. Use the dropdown menu to select the U.S.Extended Keyboard.
-->For information about keyboard accessibility, see How to: Use Keyboard Navigation.
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.
Downloadable quick ref pdfs
Keyboard Shortcut Download
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.
Code Navigation
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 | ⌥⇞ |
Debug
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 |
Designer
Commands | Keyboard shortcuts |
---|---|
Switch between related files | ⌃⌘↑ |
Edit
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 |
F# Integration
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 | ⌃⏎ |
File
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 |
Help
Commands | Keyboard shortcuts |
---|---|
API Documentation | ⌥⌘? |
Unity API Reference | ⌘' |
Other
Commands | Keyboard shortcuts |
---|---|
Implement Unity Messages | ⇧⌘M |
Inspect | ⌥⌘I |
Project
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 |
Refactoring
Commands | Keyboard shortcuts |
---|---|
Import Symbol | ⌃⌥␣ |
Quick Fix | ⌥⏎ |
Search
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 |
Text Editor
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 |
View
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 | ⌘-, ⌘_ |
Window
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 | ⌃⌥⇧⇥ |
macOS key symbols lookup
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 |
See also
Using keyboard shortcuts instead of reaching for your mouse or trackpad and hunting through menus is a great way to save time and get work done efficiently.
Even though for complex task you could use a keyboard assistant like Lacona (which will semantically understand any operation you need to perform) for complex tasks, knowing essential shortcuts will speed up every repetitive action related to the basic Mac functionality.
Learning shortcuts takes time and practice; it’s only by using them repeatedly that you develop a habit. But then you start really saving time and boosting productivity to the point where you won’t know how you’ve lived without them.
Top time-saving Mac keyboard shortcuts everyone should know
To help you, we’ve collected the best keyboard shortcuts for the Mac — those that will save you the most time every day. Remember: learn them and practice them.
We’ve avoided the obvious shortcuts, the ones that all casual Mac users will know, like copy, paste, and cut. Before we start with a list, let’s take a look at all the modifier keys:
Cmd = Command key (the one either side of the spacebar and looks like this: ⌘)
Ctrl = Control key, usually labelled “ctrl”
Alt = old-time Mac users would call this “option” and looks like this: ⌥
Shift = ⇧
Tab = ⇥
Now, let’s dive right in.
Navigate quickly to a folder in Finder
When you’re in Finder, there are a number of shortcuts you can use to go directly to a folder.
- Cmd-Shift-D goes to Desktop
- Cmd-Shift-H to your user folder
- Cmd-Shift-A to Applications
- Cmd-Shift-I to iCloud Drive
- Cmd-Shift-U to Utilities
Change the Finder view
In a Finder window, use the following shortcuts to change the view for all the items in a folder:
- Cmd-1 to display Icons
- Cmd-2 for List
- Cmd-3 for Columns
- Cmd-4 for Cover Flow
Navigate folders in the Finder
Going through folders in the Finder is especially easy with:
- Cmd-[ to move left
- Cmd-] to move right
Add a selected item to a Finder window sidebar.
Select the item you’d like to add and press Cmd-Option-S.
View a Quick Look slideshow of selected files
First Shift- or Cmd-click the files you want to preview and then press Cmd-Option-Y to see the slideshow.
Find anything
Use Cmd-F to search for something. In most applications, including word processors and web browsers, it’s used to search for bits of text on the page you’re on. Cmd-F in Finder opens a new Finder search window, with the cursor already in the search box.
Invoke Spotlight from anywhere
Press Cmd-Space from anywhere to pull up the Spotlight search bar.
Quickly open Accessibility options
Your Mac has a number of features, such as the ability to invert colors on the screen, to help those who have additional needs when it comes to using a computer. To access them quickly, press Cmd-Option-F5.
Switch applications quickly
Press Cmd-Tab and keep holding Cmd to pull up the macOS application switcher. Press Tab again to highlight the next app and let go when you reach the app you want to switch to. Pressing Cmd-Tab and letting go of both immediately switches to the next app without further interaction.
Open any application’s Preferences
Press Cmd-comma to open any application’s Preferences window.
Open the Get Info window
Get Info is available for every file and folder on your Mac and provides information such as the size of the file and the application that will be used by default. To open this window, click on the file or folder and press Cmd-I.
Show or hide the Dock
Press Cmd-Alt-D to show or hide the Dock in any application.
Note: this doesn’t work when applications are in full-screen mode.
Add a Finder item to the Dock
Select the item then press Ctrl-Shift-Cmd-T.
Invoke AirDrop
AirDrop is a great tool for transferring files quickly between Macs or between a Mac and an iOS device. To get to it right away, press Cmd-Shift-R in the Finder.
Undo
This one is a huge timesaver and can get you out of trouble, depending on the app you use it in. Press Cmd-Z to undo your most recent action. In apps that allow multiple undos, press it again to move back another step and so on. To redo something you’ve undone, it’s either Cmd-Shift-Z or Cmd-Y, depending on the app.
Navigate text
Press Alt-Right Arrow to jump a word or Cmd-Right Arrow to jump to the end of a line.
Alt-Left Arrow and Cmd-Left Arrow jump backwards a word and a line, respectively. To select text as you jump, hold down the Shift key.
Find misspelled words in a document
Press Cmd-semicolon to have misspelled words highlighted.
Select all
To select everything in a document or folder, press Cmd-A.
Paste in the correct style
While Cmd-V will paste whatever is in the clipboard, it does so in the style of the document you copied from. To paste text in the style of the document you’re pasting into, press Cmd-Option-Shift-V.
Take a screenshot
Press Cmd-Shift-3 to screenshot the whole screen. To grab a selection, press Cmd-Shift-4 and drag over the part of the screen you want to grab. To take a shot of a single window, press Cmd-Shift-4 then press Space and place the camera icon over the window you want to grab and click on it.
You can also copy and paste a screenshot in one move. If you add the Ctrl key to the shortcuts above, it will paste the screenshot to the clipboard rather than saving it. For example, Ctrl-Cmd-Shift-3 will take a screenshot of the whole screen and paste it to the clipboard. To paste it into your document, just press Cmd-V.
Open a new tab in Safari (or any other web browser)
Press Cmd-T to open a new tab. If you close a tab by accident, Cmd-Shift-T will re-open it.
List Of Keyboard Shortcut
Zoom into a web page
In Safari, Firefox, or Chrome, you can make the contents of a web page larger or smaller using Cmd and either the + or - keys, depending on whether you want to zoom in or out. This also works in some other apps.
Zoom in anywhere
To make the universal zoom work, you’ll need to go to System Preferences, then click the Accessibility pane and choose the Zoom option, checking all the boxes. After that, you can press Cmd-Option-Plus to zoom in anywhere. Cmd-Option-Minus will zoom out in stages. To return to 100%, press Cmd-Option-8.
Open Display Preferences
Press Option-F2 to show the Display Preferences window.
Open Sound Preferences
Press Option-F12 to show Sound Preferences.
Adjust the volume in small increments
Press Option-Shift-Volume Key to move the volume of your Mac’s audio up or down by smaller increments than just using the volume key alone.
Put your Mac to sleep
Hit Option-Cmd-Power (or Ctrl-Option-Cmd-Eject) and your Mac will go to sleep, gently and effortlessly.
Shut down your Mac
To quit open programs and shut down your Mac without needing to hit a confirmation button, press Ctrl-Option-Cmd-Power (or Ctrl-Option-Cmd-Eject). This will simply shut down your Mac, safely and securely.
Restart your Mac
If you want to restart your Mac, hit Ctrl-Cmd-Power (or Ctrl-Cmd/Eject). This will reboot your Mac.
Keep on learning
Presented above are introductory shortcuts, just one level above the ones everyone is used to. Once you learn them and use them daily, you’ll notice how your workflow suddenly starts to speed up. Soon enough, it would be time to step up you game with a collection of intermediate time-savers. But more on this later.
Custom Keyboard Shortcut
Keyboard Symbol Shortcut
Meantime, prepare for all the awesome things you can do with Setapp.
Read onSign Up