macOS extras¶
Not terminal tools as such, but they make the Mac nicer to work on. All of them install with Homebrew.
AeroSpace: tiling windows¶
AeroSpace is an i3-style tiling window manager. Windows tile automatically instead of overlapping, and everything is on the keyboard with the same h/j/k/l keys as Neovim. It's configured in ~/.config/aerospace/aerospace.toml, managed by chezmoi.
| Keys | Action |
|---|---|
alt + h/j/k/l |
Focus the window left / down / up / right |
alt + ctrl + h/j/k/l |
Move the window |
alt + 6–0, y–p |
Switch workspace |
alt + ctrl + workspace key |
Send the window to that workspace |
alt + tab |
Back to the previous workspace |
alt + / or alt + , |
Tiles or accordion layout |
alt + ctrl + . |
Service mode: f float/tile, g fullscreen, r reset layout, esc reload config |
Some details worth copying:
- The default layout is accordion, which stacks windows with a small offset rather than squashing them side by side. This works better on a laptop screen.
- Gaps are set per monitor: bigger on the external display, tight on the laptop.
on-window-detectedrules make small utility apps (Finder, authenticator apps, the VPN client) float instead of tiling.- JankyBorders is started from
after-startup-commandand draws a border around the focused window, so you can see which one has focus. -
ffin the shell fuzzy-finds any open window and jumps to it:
LinearMouse¶
LinearMouse sets mouse settings per device. Mine turns off pointer acceleration and reverses vertical scrolling for the mouse only, so the trackpad keeps natural scrolling. It also makes the side buttons work as back/forward in every app.
Boring Notch¶
Boring Notch turns the MacBook notch into a small dynamic island. Hovering over it shows media controls, a calendar and a file shelf, so the notch is useful rather than just in the way.
Mole¶
Mole (mo) is a command-line Mac cleaner. Running mo opens a menu; the subcommands I use most: