Setting Up A New Mac

From Rest of What I Know

Every now and then I set up a new Mac and I forget all the things I do. This is a list so that setup is fast.

Initial Environment

[edit | edit source]
  1. Google Chrome
  2. Homebrew

Default Web Browser

[edit | edit source]
Set it to Chrome instead

Screenshots Folder

[edit | edit source]

Then set the Screenshots folder to ~/Pictures/Screenshots by hitting Cmd + Shift + 5, then Options, then Other Location... and create and select the folder.

Shell

[edit | edit source]
  1. Ghostty since it's a super-fast terminal emulator
    1. Ghostty Configuration
  2. oh-my-zsh to make zsh enjoyable
  3. fzf
  4. ripgrep
  5. mise allows managing different versions of runtimes
  6. neovim
    1. Set EDITOR to nvim
  7. fd

Text Entry

[edit | edit source]
Now you can hold j to scroll down

Set up Caps Lock

[edit | edit source]

First install Karabiner Elements

Disable Caps Lock Delay

Then, map Caps Lock to Escape if it's just tapped and to Ctrl if held by going to Complex Modifications and Add your own rule and then put this in

{
    "description": "Post escape if caps is pressed alone, left_ctrl otherwise",
    "manipulators": [
        {
            "from": {
                "key_code": "caps_lock",
                "modifiers": { "optional": ["any"] }
            },
            "to": [{ "key_code": "left_control" }],
            "to_if_alone": [{ "key_code": "escape" }],
            "type": "basic"
        }
    ]
}

LLM Assistants

[edit | edit source]
  1. Claude Code
  2. Codex
  3. Gemini

Productivity Tools

[edit | edit source]
  1. Slack