Skip to content

Instantly share code, notes, and snippets.

@richy486
Last active October 31, 2024 10:17
Show Gist options
  • Save richy486/98b26c3206b2d466c89ccc42facf219d to your computer and use it in GitHub Desktop.
Save richy486/98b26c3206b2d466c89ccc42facf219d to your computer and use it in GitHub Desktop.
New Mac

New Mac

Finder

Show file extensions

Finder > Settings, then click Advanced. Select or deselect "Show all filename extensions"

Hidden files

toggle: CMD + SHIFT + .

defaults write com.apple.finder AppleShowAllFiles YES then relaunch

Path bar

View -> Show Path bar

Folders on top in Finder

Preferences -> Advanced -> "Keep folders on top:" -> "In windows when sorting by name"

Trackpad

Three finger drag

System Preferences -> Accessibility -> Pointer Control -> Mouse & Trackpad -> Trackpad Options -> Enable Dragging -> three finger drag

Mouse

Secondary click

System Preferences -> Mouse -> Secondary click

Swipe navigate

System Preferences -> Mouse -> More Gestures -> Swipe between pages -> "Scroll Left or Right with One Finger"

Spaces

System Preferences -> Desktop & Dock -> Mission Control -> Automatically rearrange Spaces based on most recent use -> off System Preferences -> Desktop & Dock -> Mission Control -> Displays have separate Spaces -> off (requires logout)

Spaces shortcut

Might have to relaunch System Preferences to get the full list System Preferences -> Keyboard -> Keyboard Shortcuts... -> Mission Control -> Mission Control (drop down)

Xcode

Show file extensions

Preferences -> General and change the “File Extensions” option to “show all”

Word wrap

Preferences -> Text Editing -> Display -> Line Wrapping

Code column

Preferences -> Text Editing -> Editing -> Recormat code column -> 100

Indentation

Preferences -> Text Editing -> Indentation -> Tab Width / Indent Width -> 2

Toggle minimap

⌘(command) + ⇧(shift) + ⌃ (Ctrl) + M

Documentation markup

Preferences -> Themes

SF Mono Regular 12.0

Spell check

Edit -> Format -> Spelling and Grammar -> Check spelling while typing Might need to open a code file to enable the option.

VSCode

Settings

Sublime

Settings

Terminal

Pro look

Use bash chsh -s /bin/bash

.bash_profile

Git

New way:

Old way:

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