Setting Up A New Mac: Difference between revisions

From Rest of What I Know
Shell: add fd
 
(3 intermediate revisions by the same user not shown)
Line 23: Line 23:
# [https://mise.jdx.dev/installing-mise.html mise] allows managing different versions of runtimes
# [https://mise.jdx.dev/installing-mise.html mise] allows managing different versions of runtimes
# [https://neovim.io/ neovim]
# [https://neovim.io/ neovim]
## Set <code>EDITOR</code> to <code>nvim</code>
# [https://github.com/sharkdp/fd fd]
# [https://github.com/sharkdp/fd fd]
## Set <code>EDITOR</code> to <code>nvim</code>


== Text Entry ==
== Text Entry ==
Line 36: Line 36:
[https://karabiner-elements.pqrs.org/docs/help/how-to/disable-caps-lock-delay/ Disable Caps Lock Delay]
[https://karabiner-elements.pqrs.org/docs/help/how-to/disable-caps-lock-delay/ Disable Caps Lock Delay]


Then, map Caps Lock to Escape
Then, [https://gist.github.com/tanyuan/55bca522bf50363ae4573d4bdcf06e2e 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


[[File:Screenshot Karabiner Elements - Caps Lock to Escape.png|frame|center|You can map this in MacOS without Karabiner, but since KE makes it easy to disable Caps Lock Delay might as well do this here]]
<syntaxhighlight lang=json>
{
    "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"
        }
    ]
}
</syntaxhighlight>


== LLM Assistants ==
== LLM Assistants ==

Latest revision as of 23:44, 19 February 2026

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]
  1. Google Chrome
  2. Homebrew

Default Web Browser

[edit]
Set it to Chrome instead

Screenshots Folder

[edit]

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]
  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]
Now you can hold j to scroll down

Set up Caps Lock

[edit]

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]
  1. Claude Code
  2. Codex
  3. Gemini

Productivity Tools

[edit]
  1. Slack