dotfiles-editors
SKILL.md
Editor Configuration
Neovim (LazyVim)
Structure
- Config root:
~/.config/nvim/ - Entry point:
~/.config/nvim/init.lua - Plugin lock:
~/.config/nvim/lazy-lock.json - Core configs:
~/.config/nvim/lua/config/autocmds.lua— Auto commandskeymaps.lua— Key bindingslazy.lua— Lazy.nvim bootstrapoptions.lua— Editor options
- Custom plugins:
~/.config/nvim/lua/plugins/
Version Management
Neovim is managed by bob (not Homebrew):
bob use stable # Switch to stable
bob use nightly # Switch to nightly
bob update # Update current version
bob ls # List installed versions
Binary location: ~/.local/share/bob/nvim-bin
Treesitter Critical Notes
-
nvim-treesitter uses
mainbranch (notmaster) since May 2025 -
tree-sitter-climust be installed via cargo, NOT Homebrew:cargo install --locked tree-sitter-cli -
Homebrew's
tree-sitterpackage is just a library, not the CLI -
noice.nvim requires these parsers:
vim,regex,lua,bash,markdown,markdown_inline -
Always run
:TSUpdateafter updating nvim-treesitter to sync parsers
Plugin Updates
# Headless sync (for automation)
nvim --headless '+Lazy! sync' +qa
# Headless treesitter update
nvim --headless '+TSUpdate' +qa
Making Changes
- Edit files in
~/.config/nvim/lua/plugins/for plugins - Edit files in
~/.config/nvim/lua/config/for core settings - Restart Neovim to apply changes
Zed Editor
Configuration
- Config file:
~/.config/zed/settings.json - Changes apply automatically (no restart needed)
Current Settings
- Vim mode enabled with relative line numbers
- Theme: One Dark
- Font: JetBrains Mono
- AI: Claude 3.5 Sonnet integration
- Format on save enabled
- Language-specific formatters configured
- Git inline blame enabled
- Edit predictions disabled for sensitive files
- Telemetry disabled