Skip to content
GroveerPublic

About

Personal neovim config

Resources

Stars

1 star

Watchers

1 watching

Forks

Latest commit

Β 

History

233 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Modern Neovim Configuration

A high-performance Neovim configuration written in Lua, designed for speed, aesthetics, and developer productivity. Built on top of NvChad with extensive customization and modern plugins.

πŸš€ Features

Performance & Startup

  • Fast Startup: 0.02s - 0.07s startup time
  • Lazy Loading: Most plugins are loaded on demand via lazy.nvim events, commands, ft and keys
  • Trimmed Runtime: Disabled unnecessary built-in plugins

AI Integration

  • Code Companion: Zed-like AI workflow with codecompanion.nvim
  • Copilot Adapter: Copilot backing the chat/CLI adapters, installed through Mason

Language Support

  • Native LSP: Shared on_attach, keymaps and capabilities in lua/configs/lsp.lua
  • Semantic Tokens: Uses LSP semantic tokens for advanced syntax highlighting
  • Rust Enhancement: Supercharged Rust development with rustaceanvim
  • Crates Management: Dependency management for Cargo projects
  • Python Provider: Dedicated venv in stdpath("data")/.venv with pynvim and the markitdown CLI installed on demand (created by :PythonSetup, never blocking startup)

UI & Experience

  • Beautiful Themes: Multiple themes with theme toggler via base46
  • Modern UI: Statusline, tabufline and cheatsheet via NvChad UI
  • File Navigation: File explorer with nvim-tree.lua
  • Smart Navigation: Jump anywhere with flash.nvim

Editor Enhancements

  • Fuzzy Finder: Fast file search and preview with fzf-lua
  • Git Integration: Buffer-level git signs with gitsigns.nvim
  • Todo Management: Highlight and search todo comments
  • Formatting: Lightweight formatting with conform.nvim

πŸ“¦ Plugin Categories

AI & Assistants

Language & LSP

Completion & Snippets

Navigation & Search

Git & Version Control

UI & Visuals

Quality of Life

πŸ›  Installation

Requirements

  • Neovim >= 0.11 (built with LuaJIT)
  • git, rg, fd and a Nerd Font for icons
  • Optional per-feature dependencies: imagemagick (image rendering), cargo (Rust)

Setup

Back up any existing config first, then clone into place:

mv ~/.config/nvim ~/.config/nvim.bak
git clone https://github.com/Groveer/nvvim.git ~/.config/nvim

Launch nvim β€” lazy.nvim bootstraps itself, then installs every plugin pinned in lazy-lock.json. Use :Lazy to inspect or update plugins, :Mason to manage language servers.

πŸ“ Project Structure

~/.config/nvim
β”œβ”€β”€ init.lua              # Entry point: lazy.nvim bootstrap + setup, ui2, config loading
β”œβ”€β”€ lua/
β”‚   β”œβ”€β”€ configs/          # Core config modules
β”‚   β”‚   β”œβ”€β”€ global.lua    # Shared globals (vim.g.cfg_*): platform flags, paths
β”‚   β”‚   β”œβ”€β”€ options.lua   # vim.opt options
β”‚   β”‚   β”œβ”€β”€ keymap.lua    # Global keymaps
β”‚   β”‚   β”œβ”€β”€ autocmds.lua  # Autocommands
β”‚   β”‚   β”œβ”€β”€ python.lua    # Python venv (provider, PATH, package installs)
β”‚   β”‚   └── lsp.lua       # Shared LSP on_attach / keymaps / capabilities
β”‚   β”œβ”€β”€ plugins/          # One file per plugin, auto-imported by lazy.nvim
β”‚   └── chadrc.lua        # NvChad theme and UI config
β”œβ”€β”€ after/                # Filetype-specific overrides
β”œβ”€β”€ snippets/             # Custom snippets
β”œβ”€β”€ spell/                # Spellfile word lists
β”œβ”€β”€ skills/  prompts/     # CodeCompanion skills and prompt library
└── lazy-lock.json        # Plugin version lockfile

Plugin specs resolve as plugins.<name>, core config as configs.global, configs.lsp, and so on. A new plugin only needs a file dropped into lua/plugins/ β€” there is no registration step.

The Python venv is intentionally not in this tree. It lives in stdpath("data")/.venv (e.g. ~/.local/share/nvim/.venv): configs.python creates it lazily and exports VIRTUAL_ENV plus PATH, while configs.python.ensure_package() installs pynvim and β€” through the codecompanion build hook β€” markitdown[all].

βš™οΈ Configuration

Entry Point

init.lua sets up the runtime in this order: bootstrap lazy.nvim β†’ load configs.global, configs.options, configs.autocmds, configs.keymap, configs.lsp, configs.python β†’ require("lazy").setup({ ... }) (config inlined in init.lua) β†’ enable vim._core.ui2.

Customizing Themes

Edit lua/chadrc.lua to customize themes and UI:

M.base46 = {
  theme = "chadracula-evondev",
  transparency = true,
  integrations = {
    "notify",
    "todo",
    "navic",
    -- Add your integrations
  },
}

Statusline Configuration

Customize the statusline in lua/chadrc.lua:

M.ui = {
  statusline = {
    theme = "vscode_colored",
    order = { "mode", "file", "git", "navic", "%=", "diagnostics", "cursor", "lsp", "cwd" },
    -- Custom modules
  },
}

Platform Handling

lua/configs/global.lua detects cfg_is_mac, cfg_is_linux, cfg_is_windows and cfg_is_wsl once at startup and stores them as vim.g.cfg_*. Plugins read vim.g directly instead of requiring configs β€” for example image.nvim is disabled on Windows:

enabled = not vim.g.cfg_is_windows,

πŸ“„ License

MIT License - See LICENSE file for details.

About

Personal neovim config

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages