Set up the dotfiles
On a Mac, clone the repository and run the setup script. It installs the command-line tools, Ghostty, Oh My Zsh, and pinned Vim plugins, links the configuration files, and checks that everything loads correctly.
These commands require Homebrew and brew in your shell. On a new Mac, finish the Apple Command Line Tools installation if the first git command prompts for it, then retry. The installer also configures the required RVM Ruby versions.
git clone https://github.com/marianposaceanu/dot-files.git ~/dot-files
cd ~/dot-files
brew install borkdude/brew/babashka
bb bootstrap/install_macos.clj
- Learn frequently visited directories, jump with short keyword queries, and use FZF when more than one destination looks right.
Configuration source
The articles explain the workflow. These links go directly to the files that implement it.
.vim/Vim plugins and local extensions.zshrcShell navigation and command-line tools.tmux.confRemote and persistent terminal sessionsllm-harnesses/Amp, Codex, and Claude Code configurationbootstrap/Installation, validation, backups, and environment checks
Custom tools
These projects are maintained alongside the dotfiles. Marian’s Homebrew tap provides the command-line tools and optional native builds.
- mextdisplayEnable and disable external displays on Apple Silicon Macs. Install with
brew install marianposaceanu/tap/mextdisplay. - rzSave and restore Ghostty workspaces. Install with
brew install marianposaceanu/tap/rz; see the Ghostty quick start. - Safari Tab WeightInspect the current Safari tab’s observable resource weight and page structure. Build and enable it using the standalone project’s Xcode instructions.
- brew nativeCompile Vim, Git, ripgrep, and Universal Ctags for the local Apple CPU through the Homebrew tap.
macOS and measured performance
- Local SHA-256 and Speedometer 3.1 measurements, raw results, CSS comparisons, methodology, caveats, and a reproducible harness.
-
Step-by-step guide to compiling with
-O3 -mcpu=apple-mNfor the detected Apple Silicon CPU via the dedicated Homebrew tap, with the one-command script, every manual step, verification, upgrades, and the pitfalls. - Same-version Homebrew rebuilds with native CPU targeting, LTO, optional PGO, atomic rollback, and honest benchmarks ranging from clear gains to no measurable change.
Ghostty sessions and recovery
-
Native tabs and splits, macOS integration, a quick terminal, and
rzsnapshots that recover working directories, geometry, Codex conversation IDs, Amp thread IDs, Claude Code session IDs, optional scrollback, and tab-owned automatic backups without a global service.
Vim field guide
- Stage, diff, blame, browse history, and write Git objects without leaving Vim.
- The commands and keys for navigating the repository through fzf and ripgrep.
- Inline blame and log search commands for tracing where a line came from.
- Automatic golden-ratio resizing for multi-window Vim layouts.
- What each status-line segment shows and how the current theme is configured.
- Open, navigate, re-root, and manage files from the tree sidebar.
- Insert-mode completion for keywords, paths, language-aware sources, and tags.
- Repeatable alignment for assignments, hashes, lists, and Markdown tables.
- Comment lines, selections, paragraphs, and text objects using normal Vim motions.
- Automatic endings for Ruby, shell, Vim script, Lua, Elixir, and similar languages.
- Navigate, preview, stage, undo, and inspect changes from the sign column.
- Extend Vim's dot command to surround, commentary, and other plugin mappings.
- Browse files, selected lines, commits, and branches through fugitive.
- Keep fuzzy search, ripgrep, and Git commands anchored to the current project.
- Practical key sequences for quotes, brackets, parentheses, and HTML tags.