Keyboard shortcuts
Keyboard shortcuts are a much faster way to get around your computer than using a mouse. Here are some useful ones.
Additionally, non-sighted users rely on the keyboard to navigate your app. Make sure that your app can be used without a mouse!
Generalβ
These shortcuts work in most apps.
Linux
Mac
Windows
| Key | Action |
|---|---|
| Ctrl+N | New document |
| Ctrl+O | Open |
| Alt+F4 | Quit |
| Ctrl+S | Save |
| Ctrl+W | Close window |
| Key | Action |
|---|---|
| βH | Hide window |
| βM | Minimize window |
| βN | New document |
| βO | Open |
| βQ | Quit |
| βS | Save |
| βW | Close window |
| β, | Settings |
Many apps and sites use the Escape key to close dialogs, but the Escape key is very far away. You can remap CapsLock to Escape via
System Settings > Keyboard > Keyboard Shortcuts⦠> Modifier Keys:
This may seem like a strange suggestion (at least it did to me initially), but once you start using Escape regularly you'll find that it's useful in lots of apps!
| Key | Action |
|---|---|
| Ctrl+N | New document |
| Ctrl+O | Open |
| Alt+F4 | Quit |
| Ctrl+S | Save |
| Ctrl+W | Close window |
Navigationβ
File explorerβ
Mac
These shortcuts work in both browsers and Finder:
| Key | Action |
|---|---|
| βT | New tab |
| β§β[ | Previous tab |
| β§β] | Next tab |
| β[ | Back in history |
| β] | Forward in history |
Browserβ
These shortcuts work in browsers:
Mac
| Key | Action |
|---|---|
| β1ββ9 | Select nth tab |
| βL | Select location bar |
| β§βT | Reopen closed tab |
| βR | Refresh |
| β§βR | Hard refresh (clears cache) |
Textβ
Here are some shortcuts for moving your cursor around.
Moving the cursorβ
Mac
| Key | Action |
|---|---|
| βA | Select all |
| β₯β | Back one word |
| β₯β | Forward one word |
| ββ | Beginning of line |
| ββ | End of line |
| Hold down Shift | Select text |
Copy/pasteβ
Use these shortcuts instead of right-clicking to copy and paste. Note that these shortcuts also work in the file explorer!
Linux
Mac
Windows
| Key | Action |
|---|---|
| Ctrl+C | Copy |
| Ctrl+P | Paste |
| Ctrl+X | Cut |
| Key | Action |
|---|---|
| βC | Copy |
| βP | Paste |
| βX | Cut |
| Key | Action |
|---|---|
| Ctrl+C | Copy |
| Ctrl+P | Paste |
| Ctrl+X | Cut |
Arrow key alternativesβ
The arrow keys are handy for moving around in a document, but they are very far away. These alternatives let you navigate without moving your hands from home row.
| Key | Action |
|---|---|
| βN | Down (β) |
| βP | Up (β) |
| βF | Forward (β) |
| βB | Back (β) |