🚀 Professional IDE-Class Neovim Configuration
A sophisticated Neovim setup that combines LazyVim's powerful foundation with NvChad's polished UI components, creating a professional IDE-class experience with AI-powered coding, extensive language support (15+ languages), and advanced workflow automation.
Perfect for developers seeking a unified environment for web development, backend systems, mobile apps, competitive programming, and real-time collaboration.
Installation
Prerequisites
In windows, you can use scoop to install them.
Docker:
Git:
Telescope:
Mason.nvim:
Tree-sitter:
Nerd Font (For Icons):
Quick Install (Recommended)
Linux/macOS
bash <(curl -s https://raw.githubusercontent.com/Alexis12119/nvim-config/main/installer/install.sh)
Windows (PowerShell)
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
Invoke-WebRequest https://raw.githubusercontent.com/Alexis12119/nvim-config/main/installer/install.ps1 -UseBasicParsing |
Invoke-Expression
Manual Install
Backup your current Neovim configuration:
# Linux/macOS
mv ~/.config/nvim ~/.config/nvim.backup
mv ~/.local/share/nvim ~/.local/share/nvim.backup
# Windows
mv $env:LOCALAPPDATA\nvim $env:LOCALAPPDATA\nvim.backup
mv $env:LOCALAPPDATA\nvim-data $env:LOCALAPPDATA\nvim-data.backup
Clone this configuration:
# Linux/macOS
git clone https://github.com/Alexis12119/nvim-config.git ~/.config/nvim
# Windows
git clone https://github.com/Alexis12119/nvim-config.git $env:LOCALAPPDATA\nvim
Start Neovim and let Lazy install the plugins:
nvim
Features
Neovim
- Hardtime - Breaks your vim bad habits
- Precognition - Assits you in your vim journey
🤖 AI & Coding
- Supermaven - Primary AI-powered code completion with blazing fast suggestions
- OpenCode (Disabled) - Alternative AI assistant available but disabled for performance
- LuaSnip - Snippet engine with VSCode-compatible snippet support
- Mini Comment/Surround - Quick commenting and surrounding operations
- Yanky - Enhanced yank/paste with ring buffer and system clipboard integration
- Refactoring - Advanced code refactoring tools with LSP-powered transformations
🔧 Development Tools
- Compiler.nvim - Code compilation and running with task management
- Debug Adapter Protocol - Integrated debugging
- Telescope - Fuzzy finder and picker
- Aerial - Code outline/symbols
- Inc-rename - Incremental renaming
- Dial - Enhanced increment/decrement
🎨 UI & Experience
- Custom GitHub Dark Dimmed theme with extensive language-specific highlighting
- Indent Blankline - Visual indentation guides
- Treesitter Context - Context-aware code display
- Noice - Modern UI for commands and notifications
- Which-key - Keybinding helper
- Snacks.nvim - Modern UI components and utilities
🌐 Language Support
Web Development
- TypeScript/JavaScript - Full TS/JS support with Volar/VTSLS
- Vue - Vue.js framework
- Svelte - Svelte framework
- Astro - Astro framework
- Tailwind CSS - Utility-first CSS
- HTML/CSS/JSON/YAML - Web standards
Backend & Systems
- Python - Python development with venv-selector
- Go - Go language support
- Rust - Rust programming with rustaceanvim
- Java - Java development with nvim-java and Spring Boot support
- C/C++ - C/C++ with Clangd
- C#/.NET - .NET development with easy-dotnet.nvim
- Kotlin - Kotlin language
- Ruby - Ruby development
- PHP - PHP development with Laravel framework support
- Zig - Zig language
Data & DevOps
- SQL - Database queries with vim-dadbod suite
- Docker - Container support
- Git - Version control with Diffview integration
- Prisma - Database ORM
- CMake - Build system
- Toml - Configuration files
Documentation & Markup
- Markdown - Documentation with preview
- Typst - Modern typesetting
🛠️ Tooling
- Prettier - Code formatting
- ESLint - JavaScript linting
- Neoconf - Project configuration
- Project.nvim - Project management with custom patterns
- Rest - HTTP client with kulala.nvim
- Dot - Graphviz support
- Neotest - Testing framework with multi-language adapters
🚀 Advanced Workflow Features
Project Bootstrap System (<leader>P)
- 20+ Framework Templates: Next.js, Laravel, Spring Boot, Flutter, React Native, and more
- Interactive Setup: Smart dependency management and configuration
- Git Integration: Automatic repository initialization with sensible defaults
- Cross-platform: Works seamlessly on Linux, macOS, and Windows
Advanced Code Runner (<leader>ce)
- Multi-language Support: C/C++, Python, JavaScript, Go, Rust, Java, C#, PHP, and more
- Compilation Modes: Standard, debug, and competitive programming modes
- Smart Error Handling: Terminal integration with intelligent error detection
- Quick Integration: Seamless quickfix list navigation
Real-time Collaboration
- Nomad.nvim: Live pair programming with cursor synchronization
- Cross-platform: Works on all platforms (disabled on Windows for compatibility)
Performance & Utilities
- Competitive Programming: cphelper.nvim for contest preparation
- Smart Navigation: Tmux integration with intuitive Ctrl+h/j/k/l movement
- Project-wide Linting: ESLint integration with quickfix navigation
- Variable Substitution: Dynamic command execution with placeholder replacement
Configuration
Architecture Overview
This configuration uses a hybrid architecture combining the best of both worlds:
- LazyVim Foundation: Provides the core functionality, plugin management, and extensive language extras system (42+ extras pre-configured)
- NvChad UI Components: Delivers polished statuslines, tablines, and theme system with Base46 color schemes
- Custom Layer: Adds project management, advanced tooling, and workflow automation
Managing Language Support
This configuration includes extensive language support through LazyVim Extras.
If you're seeing too many notifications about missing language servers or tools,
you can easily remove unwanted language integrations:
Using LazyExtras UI
- Open LazyExtras:
:LazyExtras or press <leader>le
- Navigate to the language/category you want to remove
- Press
x to toggle the extra off (it will be marked with ✗)
- Restart Neovim to apply changes
Direct Configuration
Edit lazyvim.json in your config root and remove unwanted extras from the list.
Common Extras to Consider Removing
- Web Development: TypeScript, Vue, Svelte, Astro, Tailwind CSS
- Backend Languages: Java, C#, PHP, Rust, Go, Kotlin, Ruby, Zig
- Database Tools: SQL, Prisma, vim-dadbod suite
- Framework Support: Laravel, Spring Boot, Flutter-tools
Theme
- Theme: Custom GitHub Dark Dimmed with extensive language-specific highlighting
- Telescope Style: Borderless
- Custom Highlights: Detailed syntax highlighting for Python, Java,
JavaScript/TypeScript, Go, Rust, PHP, Dart, C#, and more
Changing Colorscheme
To change the colorscheme, edit lua/config/globals.lua and modify the vim.g.colorscheme value:
Available themes:
tokyonight - Default modern dark theme
nvchad - Base46 NvChad themes
Example:
vim.g.colorscheme = "tokyonight" -- Switch theme
Performance Optimizations
- Fast Response Time: 100ms updatetime for responsive UI updates
- Semantic Tokens Disabled: Improved performance for large files
- Lazy Loading: Intelligent plugin loading with custom triggers
- Optimized File Detection: 5-second periodic file change monitoring
- Auto-save Configuration: Saves on focus lost and buffer leave
- Memory Management: Optimized settings for better resource usage
Key Customizations
- Custom LSP Settings: Tailored configurations for each language server
- AI Integration: Supermaven for intelligent code completion
- Project Management: Custom patterns for intelligent project detection
- Database Tools: Integrated vim-dadbod suite for database management
- Smart Search: Dynamic search highlighting with intelligent toggling
Disabled Features
The following plugins are intentionally disabled to avoid conflicts:
- nvim-tree - File explorer (disabled)
- oil.nvim - Buffer explorer (disabled)
- opencode - AI assistant (disabled, Supermaven used instead)
Structure
~/.config/nvim/
├── installer/ # Installation scripts
│ ├── install.ps1 # PowerShell installer
│ ├── install.sh # Shell installer
│ └── install_requirements.ps1
├── lua/
│ ├── config/ # Core configuration (options, keymaps, autocmds)
│ │ ├── statusline/ # Custom statusline configuration
│ │ └── tabufline/ # Tabline configuration
│ ├── plugins/ # Plugin configurations
│ │ ├── ai/ # AI-related plugins
│ │ ├── collaboration/ # Real-time collaboration
│ │ ├── colorscheme/ # Theme configuration
│ │ ├── dap/ # Debug Adapter Protocol (DAP) configurations
│ │ ├── editor/ # Core editor plugins
│ │ ├── fun/ # Fun and experimental plugins
│ │ ├── integration/ # Integration plugins
│ │ ├── langs/ # Language-specific tools
│ │ ├── lsp/ # LSP configurations and settings
│ │ │ └── settings/ # Language-specific LSP settings
│ │ ├── ui/ # User interface plugins
│ │ └── util/ # Utility plugins
│ ├── themes/ # Custom themes (GitHub Dark Dimmed)
│ ├── chadrc.lua # NvChad configuration
│ └── highlights.lua # Custom syntax highlighting
├── snippets/ # Code snippets
│ ├── snipmate/ # Snipmate format snippets
│ └── vscode/ # VSCode format snippets
├── README.md
├── init.lua # Entry point
├── lazyvim.json # LazyVim extras configuration
├── .luarc.json # Lua language server config
├── ginit.vim # GUI Neovim configuration
├── stylua.toml # StyLua formatter configuration
└── LICENSE # License file
Custom Additions
- Compiler.nvim - Code compilation and task management
- Nomad - Real-time collaboration for pair programming
- Database Tools - vim-dadbod suite for database management
- Framework Support - Laravel, Spring Boot, Flutter-tools, .NET Framework
- Competitive Programming - cphelper.nvim
- Custom Theme - Extensive GitHub Dark Dimmed customization
Enhanced Features
- Project Management - Custom project detection patterns
- Python Development - venv-selector integration
- Testing - Multi-language neotest adapters
- Performance - Optimized Neovim options for better responsiveness
Intentionally Disabled
- nvim-tree and oil.nvim (file explorers)
- opencode plugins (using Supermaven instead)
Customization Guide
Adding New Plugins
- Create a new file in
lua/plugins/ directory
- Follow the
LazySpec format used in existing plugin files
- Use the import system in
lua/plugins/init.lua
Modifying Theme
- Edit
lua/themes/github_dark_dimmed.lua for theme colors
- Modify
lua/highlights.lua for additional syntax highlighting
- Language-specific highlights are defined in the theme file
LSP Customization
- Language-specific LSP settings are in
lua/plugins/lsp/settings/
- Create new files for additional language servers
Troubleshooting
Common Issues
- Plugin not loading: Check if plugin is enabled in configuration
- LSP not starting: Verify language server is installed and configured
- Theme issues: Ensure terminal supports true colors (24-bit)
- Performance: Check for heavy plugins or large files
Getting Help
- Check LazyVim documentation for base functionality
- Review plugin-specific documentation in their repositories
- Open an issue on this repository for configuration-specific problems
Contributing
Feel free to submit issues and enhancement requests!
- Fork repository
- Create your feature branch (
git checkout -b feature/amazing-feature)
- Commit your changes (
git commit -m 'Add some amazing feature')
- Push to the branch (
git push origin feature/amazing-feature)
- Open a Pull Request
License
This project is licensed under the Apache License 2.0 -
see the LICENSE file for details.
Credits
- LazyVim - Core foundation and plugin management system
- NvChad - UI components, statuslines, and Base46 theme system
- All the plugin authors and contributors who make this configuration possible
Links