| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
This is my daily Neovim configuration. It uses LazyVim as a base, keeps plugin installation explicit, and leaves network-dependent AI tools out of the normal startup path.
Ripgrep and Lazygit are optional, but several search and Git workflows expect them to be available.
Back up any existing configuration, then clone this repository:
mv ~/.config/nvim ~/.config/nvim.bak
git clone https://github.com/abzcoding/nv.git ~/.config/nvim
nvimThe first launch bootstraps lazy.nvim at the commit recorded in lazy-lock.json. It does not automatically install the rest of the missing plugins. Review the lockfile, then restore its exact versions from inside Neovim:
:Lazy restoreRestart Neovim after the restore finishes.
lazy-lock.json is part of this configuration and should remain under version control. Automatic update checks, local plugin specs, Lua rocks, and install-on-startup are disabled. This prevents silent dependency drift; it does not make third-party plugins safe. Plugins and their build hooks still run with your user permissions.
When updating plugins:
To return to the committed versions, restore lazy-lock.json from version control and then run :Lazy restore.
This configuration is not a sandbox for hostile repositories. For a quick, plugin-free editing session, use:
nvim --clean --noplugin -i NONE path/to/fileUse an OS-level sandbox or container when the repository itself requires stronger isolation.
The AI plugins are lazy-loaded rather than started with Neovim. Press <leader>aE (Space a E) to load the configured stack and enable:
The individual plugin commands can still load their respective plugins without enabling the entire stack. Provider authentication and API keys are managed outside this repository.
Set NVIM_OFFLINE=1 to disable network-dependent AI integrations for a session:
NVIM_OFFLINE=1 nvimTo keep them disabled by default, add this to your shell profile:
export NVIM_OFFLINE=1While offline mode is set, <leader>aE warns and does nothing. Unset the variable before starting Neovim to enable AI again.
MCPHub is only enabled when ~/.mcpservers.json exists. Its external runtime must be installed separately; this configuration does not run a global npm installation on your behalf.
Avante's RAG service is disabled by default. Its optional RAG and web-search integrations require additional local services or credentials; see lua/plugins/avante.lua before enabling them.
| Command or mapping | Action |
|---|---|
| <leader>aE | Enable the AI stack |
| <leader>aM | Open MCPHub when configured |
| <leader>uT | Toggle Undotree |
| <leader>cf | Format Document |
| <leader>cs | Document Outline |
| <leader>sr | Search and Replace |
| <leader>gdd | Open Diffview |
| <leader>gdm | Diff against the remote's main branch |
| <leader>gD | Show the current file's history |
| <leader>oo | Select and Run Overseer task |
| <leader>ol | Restart the last Overseer task |
| <leader>ud | Disable Diagnostics |
| :Lint | Run the configured linter for the current buffer |
| :LintTerraform | Run Terraform validation and TFLint manually |
| :LintTrivy | Run Trivy manually |
LazyVim provides most of the remaining mappings. Press <leader> and follow the WhichKey labels to discover them.
| Back | FazBrowse Home | New Git URL |