Something went wrong. Try again.
Something went wrong. Try again.
Files
- Lua 100%
README.md
Neovim Configuration #
A modern, modular, and fast Neovim configuration written in Lua, leveraging the native vim.pack for plugin management.
🚀 Features #
- Modular Design: Organized for clarity and ease of maintenance.
- Fast Startup: Minimalist approach with native plugin loading.
- Modern Completion: Powered by blink.cmp.
- Rich UI: Enhanced by mini.nvim.
- LSP Support: Pre-configured for a smooth development experience.
- Treesitter: Advanced syntax highlighting and code understanding.
- Auto-formatting: Automatic code formatting on save via LSP.
📂 Project Structure #
.
├── init.lua # Main entry point
├── nvim-pack-lock.json # Plugin lockfile
└── lua/
├── core/ # Core settings and utilities
│ ├── autocmd.lua # Autocommands
│ ├── keymaps.lua # Global keybindings
│ ├── options.lua # Neovim options and leader keys
│ └── plugins.lua # Plugin management logic
└── plugins/ # Plugin-specific configurations
├── blink.lua # Completion engine
├── canola.lua # Theme/UI elements
├── lsp.lua # LSP client setup
├── main.lua # Plugin declarations
├── treesitter.lua# Syntax highlighting
└── ui.lua # UI enhancements (mini.nvim)
🛠️ Requirements #
- Neovim: >= 0.10.0 (recommended)
- LSP Servers:
lua-language-serveris required for Lua support.
⚙️ Installation #
-
Clone this repository to your Neovim configuration directory:
# Linux/macOS git clone https://github.com/Brajesh3/nvim-config ~/.config/nvim# Windows git clone https://github.com/Brajesh3/nvim-config ~/AppData/Local/nvim -
Open Neovim. The configuration will automatically handle plugin installation (via
vim.pack).
⌨️ Keybindings #
- Leader key is set to
<Space>. - Use
mini.clueto discover interactive shortcuts by pressing the leader key.
🔧 Maintenance #
- Adding Plugins: Modify
lua/plugins/main.luato include new plugin declarations. - Updating Plugins: Use the built-in plugin management commands (refer to
lua/core/plugins.lua).