Skip to content

Instantly share code, notes, and snippets.

@rosswd
Last active December 22, 2020 17:23
Show Gist options
  • Save rosswd/b286eb4c55cf23d46271 to your computer and use it in GitHub Desktop.
Save rosswd/b286eb4c55cf23d46271 to your computer and use it in GitHub Desktop.
Mac OSX Keyboard shortcuts.

Application Shortcuts

This file contains shortcuts relating to:

  • Spaces
  • Windows
  • Mission Control
  • Launchpad
  • Dashboard
  • Dock

Navigate to space left or right

C-LEFT or C-RIGHT

Switch to Desktop 2

C-2

Switch to another application

CMD-TAB

Hide Application

CMD-TAB then TAB (optional) then H

Quit Application

CMD-TAB then TAB (optional) then Q

Open Hidden Window

CMD-TAB then TAB(optional) then OPT then CMD off

Minimize window

CMD-M

Minimize all wndows for an application

CMD-OPT-M

View Minimized Windows

C-DOWN

Switch between an app's open windows

CMD-`

Note the use of a backtick and not an apostrophe.

Switch between tabs (works in most apps)

CMD-SHIFT-[ or CMD-SHIFT-]

Mission Control

C-UP

Mission Control (current app)

C-F3

Select window (MC/MC Current app)

C-F3 then LEFT/RIGHT then C-F3

Note MC is Mission Control.

Preview window (MC/MC Current app)

Mouse over window then SPACEBAR

Firefox alt-menu

C-SPACEBAR

Useful for back and forward actions and view page source.

Open Launchpad

CMD-E

Note CMD-E is my shortcut and you need to set your own in System Preferences>Keyboard>Shortcuts. By default there is no shortcut for opening Launchpad.

Fullscreen

C-CMD-F

Open app Preferences

CMD-,

Show Desktop

F11

If F11 is shared with Volume Down, combine F11 with Fn.

Show Dashboard

F12

Select the application menu bar

Fn-C-F2 then LEFT, RIGHT, DOWN, UP then ENTER

Open the Dock

Fn-C-F3

Open Force Quit Menu

CMD-OPT-ESC

Basic Shortcuts

This file contains basic shortcuts that are usually assumed to be known.

Close app window or tab

CMD-W

Open new tab or window

CMD-N

Open existing file

CMD-O

Save file as

CMD-S

Print from app

CMD-P

Copy, Cut, Paste

CMD-C
CMD-X
CMD-V

Finder Shortcuts

This file contains shortcuts for Finder and some general file operations, such as save dialogs.

Move backward or forward in Finder

CMD-[ OR CMD-]

Move up or down a level in Finder

CMD-UP OR CMD-DOWN

Select a file or directory in Finder

Start typing the name or use UP/DOWN arrow keys

Preview selected file

SPACEBAR

Get More information on a file or directory

CMD-I

Open file

CMD-DOWN

Rename a selected file or directory

ENTER

Open Desktop directory in finder

CMD-SHIFT-D

Open Home directory in finder

CMD-SHIFT-H

Open Utilities directory in finder

CMD-SHIFT-U

Open Documents directory in finder

CMD-SHIFT-O

Open Applications directory in finder

CMD-SHIFT-A

Open Computer directory in finder

CMD-SHIFT-C

Create a new directory

CMD-SHIFT-N

Send a file to Trash

CMD-BACKSPACE

Empty Trash

SHIFT-CMD-BACKSPACE

Save current desktop screen as a file

SHIFT-CMD-3

Save selected area as a file

SHIFT-CMD-4 then select area with mouse

Save to Desktop

CMD-S then CMD-D

Save to Applications directory

CMD-S then CMD-SHIFT-A

Save to home directory

CMD-S then CMD-SHIFT-H

Save to a location where you know the directory name

CMD-S then CMD-F then 'search term'

Abort save dialog

ESC

Save by path (useful if you have already coped the path)

CMD-S then CMD-SHIFT-G

Legend

This file lists explanations for ambiguous shortcut terms.

Terms

  • C- = Control
  • LEFT, RIGHT, UP, DOWN = Arrow Keys
  • MC = Mission Control
  • OPT = Option
  • BOL = Beginning of line
  • EOL = End of line
  • BOF = Beginning of file
  • EOF = End of file

Text based Shortcuts

This file contains shortcuts for most text based applications.

BOL

CMD-LEFT

EOL

CMD-RIGHT

BOF

CMD-UP

EOF

CMD-DOWN

Start of current word

OPT-LEFT

End of current word

OPT-RIGHT

Start of Paragraph

OPT-UP

End of current word

OPT-DOWN

Make selected text Bold, Italic, Underlined

CMD-B
CMD-I
CMD-U

Paste text and match destination style

SHIFT-ALT-CMD-V
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment