Skip to content
lasl321Public

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Repository files navigation

dotfiles

This repository contains personal configuration files (dotfiles) for a development environment, optimized for macOS.

Components

A modern Neovim configuration using lazy.nvim as the plugin manager. Features include:

  • LSP Support: Configured via lsp-config.lua and none-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-resurrect and tmux-continuum.
  • Popups: Quick access to lazygit, a tmux-file-picker popup, tmux-zoxide-window, and an nvim-diary.sh popup 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.

Terminal Emulators

  • 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

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):

Fonts:

  • Monaspace - GitHub's monospaced font family

macOS Utilities:

Fun:

  • mfp - Music for programming, played from the terminal
  • cmatrix - Terminal "Matrix" screensaver

Repository Structure

.
├── 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

Setup

Clone with submodules, since the tmux tools are vendored as git submodules:

git clone --recurse-submodules git@github.com:lasl321/dotfiles.git ~/code/dotfiles

Most configurations expect to be symlinked to their respective locations in ~/.config/ or $HOME.

Example for Neovim:

ln -s ~/code/dotfiles/nvim ~/.config/nvim

Tmux

Run 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.sh

Then install plugins from inside tmux with prefix + I (TPM).

Homebrew

Install all packages from the Brewfile:

brew bundle --file ~/code/dotfiles/homebrew/Brewfile

Claude Code

Symlink 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"
  }
}

License

Released into the public domain under The Unlicense.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages