This repository contains personal configuration files (dotfiles) for a development environment, optimized for macOS.
A modern Neovim configuration using lazy.nvim as the plugin manager. Features include:
- LSP Support: Configured via
lsp-config.luaandnone-ls.lua. - Tree-sitter: Enhanced syntax highlighting and code understanding.
- File Explorer: Neo-tree and Oil.nvim.
- UI/Theming: Catppuccin mocha flavor, Lualine for the status line, and Alpha for the dashboard.
- Fuzzy Finding: Telescope.nvim.
A feature-rich .tmux.conf utilizing TPM. Key features:
- Catppuccin Theme: Consistent mocha styling.
- Status Bar: Displays CPU usage, battery status, weather, and uptime.
- Persistence: Auto-saving and restoring sessions via
tmux-resurrectandtmux-continuum. - Popups: Quick access to
lazygit, atmux-file-pickerpopup,tmux-zoxide-window, and annvim-diary.shpopup for quick notes. - Submodules: tmux-file-picker (fzf-based file path picker, handy for AI coding assistants) and tmux-tools (session switcher and zoxide-based session/window pickers) are vendored as git submodules.
- Alacritty: Performance-focused terminal configuration.
- Wezterm: Configuration using the Monaspace font family for consistent typography.
- Ghostty: TokyoNight theme, hidden title bar, and Monaspace Neon/Radon fonts with extended ligature/stylistic-set features.
Global .gitconfig for consistent version control settings.
Custom subagent definitions for the opencode CLI, including agents for committing changes with Conventional Commits, writing documentation, code review, and security audits.
- claude/statusline-command.sh: Custom status line showing the current directory, git branch, model name, remaining context window percentage, and 5-hour rate limit reset time.
- tools/nvim-diary.sh: Opens a timestamped daily note under
~/.diaryin$EDITOR(or Neovim), wired up to the tmux popup above. - setup-tmux-links.sh: Symlinks
.tmux.confand the tmux/tools scripts into~/.tmux.confand~/.local/bin. - GEMINI.md: Instructs Gemini to follow Conventional Commits when committing to this repo.
A comprehensive Brewfile for managing macOS packages and applications. Includes:
CLI Tools:
- Neovim - Modern Vim-fork focused on extensibility
- Tmux - Terminal multiplexer
- Lazygit - Simple terminal UI for git commands
- FZF - Command-line fuzzy finder
- Ripgrep - Fast search tool
- Zoxide - Smart directory navigator
- FD - Fast and user-friendly alternative to
find - diff-so-fancy - Good-looking diffs
- GitHub CLI - GitHub command-line tool
- Tree - Directory tree display
- Neofetch - System info script
Development:
- NVM - Node.js version manager
- Minikube - Local Kubernetes cluster
- Multipass - Ubuntu VM orchestration
- Workmux - Git worktrees and tmux session manager
- LuaRocks - Lua package manager
- Ghostscript - PostScript/PDF interpreter
- ImageMagick - Image manipulation tools
- UV - Fast Python package/project manager
- Tree-sitter CLI - Parser generator used by Neovim's Tree-sitter integration
- Claude Code - Anthropic's AI coding agent CLI
- Pass - Standard Unix password manager
Applications (Casks):
- Wezterm - GPU-accelerated terminal emulator
- Ghostty - Fast, native, GPU-accelerated terminal emulator
- Firefox - Web browser
- Zoom - Video conferencing
- BasicTeX - Compact TeX distribution
- Stats - System monitor for menu bar
- Visual Studio Code - Code editor
- JetBrains Toolbox - JetBrains IDE manager
- VLC - Media viewer
Fonts:
- Monaspace - GitHub's monospaced font family
macOS Utilities:
- Dockutil - Dock management tool
Fun:
.
├── alacritty/ # Alacritty configuration
├── claude/ # Claude Code status line script
├── ghostty/ # Ghostty configuration
├── git/ # Git configuration
├── homebrew/ # Homebrew package management
│ └── Brewfile # Package definitions for macOS
├── lazyvim/ # LazyVim settings
├── nvim/ # Neovim configuration
│ └── lua/
│ └── plugins/ # Plugin-specific configurations
├── opencode/ # Opencode subagent definitions
│ └── agents/
├── tmux/ # Tmux configuration
│ ├── tmux-file-picker/ # Submodule: fzf file picker popup
│ └── tmux-tools/ # Submodule: session/window switcher popups
├── tools/ # Standalone helper scripts
├── wezterm/ # Wezterm configuration
├── GEMINI.md # Commit conventions for Gemini
├── LICENSE # Unlicense (public domain)
└── setup-tmux-links.sh # Symlinks tmux config/tools into place
Clone with submodules, since the tmux tools are vendored as git submodules:
git clone --recurse-submodules git@github.com:lasl321/dotfiles.git ~/code/dotfilesMost configurations expect to be symlinked to their respective locations in ~/.config/ or $HOME.
Example for Neovim:
ln -s ~/code/dotfiles/nvim ~/.config/nvimRun the setup script to symlink .tmux.conf and put the tmux/tools scripts (tmux-file-picker, tmux-session-switcher, tmux-zoxide-session, tmux-zoxide-window, nvim-diary.sh) on your PATH via ~/.local/bin:
~/code/dotfiles/setup-tmux-links.shThen install plugins from inside tmux with prefix + I (TPM).
Install all packages from the Brewfile:
brew bundle --file ~/code/dotfiles/homebrew/BrewfileSymlink the status line script and point Claude Code's settings.json at it:
ln -s ~/code/dotfiles/claude/statusline-command.sh ~/.claude/statusline-command.sh{
"statusLine": {
"type": "command",
"command": "bash ~/.claude/statusline-command.sh"
}
}Released into the public domain under The Unlicense.