Skip to content

Instantly share code, notes, and snippets.

@jong9000
Last active December 15, 2021 12:13
Show Gist options
  • Save jong9000/f63d040ff8fea348043a60d97dcfc502 to your computer and use it in GitHub Desktop.
Save jong9000/f63d040ff8fea348043a60d97dcfc502 to your computer and use it in GitHub Desktop.
macOS collection of shortcuts and commands

Mac Keyboard Symbols

symbol name
command
option
control
shift
tab
↩︎ return

Xcode

Shortcut Function
+ R Run
+ . Stop Run
+ + ↩︎ Run Playground
+ + K Clean Build Folder
+ 0 Show/Hide Navigator
+ 1 Show Project Navigator
+ + Y Show/Hide Debug Area
+ + + ↩︎ Show/Hide Assistant
+ + 0 Show/Hide Inspectors
+ + ` Move focus to window drawer
+ + O Open Quickly

General Navigation

Shortcut Function
+ + F Enter or exit full screen
+ T New Tab
+ Show Next Tab
+ + Show Previous Tab
+ W Close Tab
+ + Space Show Emoji & Symbols

Terminal

Navigation

Shortcut Function
+ A Go to beginning of line
+ E Go to end of line

Commands

cd / changes root folder to Macintosh HD
open -a <application> opens specified application
lsof -i :<port> view processes at specified port

Reference

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment