This repository owns personal dotfiles managed as GNU Stow packages. Every
top-level package mirrors paths below the home directory. Neovim lives under
nvim/.config/nvim/; Ghostty lives under ghostty/.config/ghostty/. Keep
machine state, caches, histories, credentials, and secrets out of the repo.
Use stow --target="$HOME" <package> to activate packages. Preserve existing
user files before replacing them, and never use stow --adopt without an
explicit request because it can overwrite repository contents.
The Neovim package is deliberately small and optimized for reading, navigating, and reviewing PHP, Node.js, TypeScript, and Vue projects. Preserve that focus. Do not turn it into a full IDE distribution unless the user asks.
- Preserve Vim's standard motions and operators. Add mappings only when they provide a concrete workflow benefit.
- Keep
Spaceas the leader key and give custom mappings German descriptions. - Keep the configuration in
init.luawhile it remains understandable. Split it only when the file develops genuinely separate responsibilities. - Prefer plugin defaults and small explicit configurations over wrappers and abstractions.
- Do not add completion, snippets, automatic formatting, linting, dashboards, or decorative UI plugins without an explicit request.
- Keep review actions safe by default. Do not add Git stage, reset, checkout, or discard mappings unless explicitly requested.
- Keep optional icon dependencies disabled unless the user asks for icons.
- Target Neovim 0.12 or newer.
- Use native
vim.pack; do not introduce another plugin manager. - Add plugin sources to the existing
vim.pack.addcall and let Neovim updatenvim-pack-lock.json. Never edit the lockfile by hand. - Use
vim.lsp.configandvim.lsp.enable-compatible configuration. Do not use the deprecatedrequire("lspconfig").SERVER.setup()API. - Use the current
nvim-treesittermainAPI:install()for parsers andvim.treesitter.start()for highlighting. Do not add the legacyconfigs.setup({ ensure_installed = ..., highlight = ... })form. - Keep Vue in hybrid mode:
vue_lshandles Vue functionality and vtsls loads@vue/typescript-pluginfrom Mason's Vue Language Server package. - Preserve automatic macOS appearance switching between
dayfoxandnightfox, includingtermguicolors.
- Update
README.mdwhenever requirements, plugins, language support, mappings, packages, installation, or update procedures change. - Update
Brewfilewhen a managed tool gains a required Homebrew dependency. - Keep user-facing documentation in German.
- Preserve the existing light/dark theme pairing and custom navigation and umlaut keybindings unless the user asks to change them.
- Validate Ghostty configuration through file inspection or non-GUI helper commands only.
- Run
git diff --checkafter edits. - Start Neovim headless and assert that every changed plugin or command loads.
- For Treesitter changes, test parser availability, normal filetype detection, active highlighting, and representative highlight captures.
- For LSP changes, verify that the intended clients attach to representative
files and answer at least one relevant request. Use
-nfor read-only test sessions so no swap files are created. - For Gitsigns, Diffview, and Oil changes, exercise their real buffers or APIs in a disposable or already modified test repository without changing user project files.
- External repositories may be used as read-only fixtures when available. Do not modify them just to test this configuration.
- Validate package links with
stow --simulate --target="$HOME" <package>and inspect the resulting symlink targets. - Do not launch, restart, quit, or otherwise control Ghostty. The agent itself may be running inside the user's active Ghostty process. Use headless Neovim checks and ask the user for a screenshot when visual confirmation is needed.
- Do not commit unless the user explicitly asks.