Personal macOS development environment configuration.
One command on a fresh Mac:
bash <(curl -fsSL https://raw.githubusercontent.com/counterbeing/.dotfiles/master/install.sh)Or if you've already cloned the repo:
cd ~/.dotfiles
./install.sh- Installs Homebrew if missing
- Installs all CLI tools, GUI apps, fonts, and Mac App Store apps via
Brewfile - Symlinks all
links/*.linkfiles to~/(e.g.zshrc.link→~/.zshrc) - Applies macOS system preferences (
macos/defaults.sh) - Copies iTerm2 preferences
- Sets up Neovim config (lazy.nvim + LSP + Treesitter)
- Enables Touch ID for sudo (with tmux support)
.dotfiles/
├── install.sh # Main bootstrap script
├── Brewfile # Homebrew dependencies
├── links/ # Dotfiles symlinked to ~/
├── nvim/ # Neovim config (symlinked to ~/.config/nvim)
├── macos/defaults.sh # macOS system preferences
└── plists/ # Application preference plists
Leader is Ctrl-a (overrides default Ctrl-b). Ctrl-a a sends literal Ctrl-a.
| Command | Result |
|---|---|
^a ? |
Help menu |
^a c |
New window |
^a % |
Vertical split |
^a " |
Horizontal split |
^a h/j/k/l |
Navigate panes |
^a ^a |
Toggle last window |
Leader is ,. Key mappings:
| Mapping | Action |
|---|---|
,n |
Toggle file tree (Neo-tree) |
,t |
Find files (Telescope) |
,fg |
Live grep (Telescope) |
,fb |
Buffers (Telescope) |
gd |
Go to definition (LSP) |
gr |
Find references (LSP) |
K |
Hover docs (LSP) |
,rn |
Rename symbol (LSP) |
,ca |
Code actions (LSP) |
None. Read the code before running.