Skip to content

Latest commit

Β 

History

History
67 lines (47 loc) Β· 2.5 KB

File metadata and controls

67 lines (47 loc) Β· 2.5 KB

Mac Cheat Sheet

Keyboard Shortcuts

Intent Key Command
Rename a selected file, folder or Numbers cell βŒ₯⏎
Delete a selected file, folder or email ⌘⌫
Open App Settings ⌘,
Quit app ⌘Q
Close window or tab ⌘W
Show/hide hidden files βŒ˜β‡§. (Cmd Shift Dot)

Special Characters (US Keyboard)

Character Key Command
Γ€ βŒ₯u and then type "a"
€ βŒ₯⇧2
– βŒ₯-
β€” βŒ₯⇧-
… βŒ₯:
ß βŒ₯s
β€’ βŒ₯8

Code Ligatures

To get nice ligatures in code:

  • Install Fira Code
  • Use it in Xcode, VSCode, Terminal, iTerm2 etc.
  • in iTerm2:
    • Settings / Profile / your profile / Text / Font
    • Also check the checkbox "Use ligatures" and select font weight medium

Anonymize Device Names

  • macOS: System Settings > General > Sharing > Local hostname
  • iOS: Settings > General > About > Name

App Defaults

... can be managed with the command line app defaults.

This is the best option to test the first launch of a macOS app under development, since just deleting the app's plist file or Container does not reliably do the job because of the intricate caching of macOS.

  • show the defaults of an app: defaults read -app <app-name>
  • clear the defaults of a macOS app: defaults delete -app <app-name>

Mail Rules Bug

One of the oldest and most ridiculous bugs in Apple software is that Mail rules don't work – still in 2023.

  • Rules are not applied automatically when the IMAP flag "seen" is already set when the email arrives in Mail. For example, spam filters or rules at your email service provider might set this flag.
  • A work around is discussed at superuser.com

Key Symbols

  • ⌘
  • ⇧
  • βŒ₯
  • βŒƒ
  • ⏎
  • ⌫
  • ↑ ↓ ← β†’