Are you looking to transform your Neovim experience into a modern, feature-rich development environment? Meet this carefully crafted Neovim configuration that brings together the best of both worlds: the efficiency of a terminal-based editor and the convenience of modern IDE features.
This Neovim configuration is a carefully curated setup that focuses on providing a smooth, intuitive coding experience while maintaining the lightweight nature of Neovim. It’s designed to be both powerful and maintainable, with a focus on modern development workflows.
One of the standout features of this configuration is its integration with Avante.nvim, providing a Cursor-like AI assistant experience right in your editor. This integration transforms your Neovim instance into a powerful AI-assisted development environment while maintaining the efficiency and customization that Neovim is known for.
<C-a>
in insert mode<leader>aa
<leader>at
<leader>ar
<leader>af
<leader>a?
Claude 3 Sonnet Integration:
Enhanced Workflow:
[[
and ]]
The Avante.nvim integration is carefully configured to provide an experience similar to Cursor, but with the added benefits of Neovim’s extensibility and customization options.
# Install Neovim 0.8 or later
curl -LO https://github.com/neovim/neovim/releases/latest/download/nvim.appimage
chmod u+x nvim.appimage
sudo mv nvim.appimage /usr/local/bin/nvim
mv ~/.config/nvim ~/.config/nvim.backup
git clone https://github.com/siddarthvader/nvim ~/.config/nvim
nvim
The configuration will automatically install Packer and all required plugins on first launch.
The configuration follows a modular approach:
init.lua
: Main configuration entry pointlua/
: Core configuration files and custom modulesafter/plugin/
: Plugin-specific configurationsplugin/
: Plugin manager setupThe configuration leverages snacks.nvim for a comprehensive set of quality-of-life features:
<leader><space>
: Smart find files<leader>/
: Quick grep search<leader>,
: Browse buffers<leader>:
: Command history<leader>fb
: Browse buffers<leader>fc
: Find config file<leader>fg
: Find git files<leader>fp
: Browse projects<leader>fr
: Recent files<leader>gl
: Git log<leader>gL
: Git log for current line<leader>gs
: Git status<leader>gd
: Git diff (hunks)<leader>gf
: Git log for current file<leader>gb
: Git blame line<leader>gg
: Open Lazygit<leader>gB
: Git browse (normal and visual mode)<leader>sg
: Grep search in project<leader>sw
: Search word under cursor/visual selection<leader>sb
: Search in buffer lines<leader>sB
: Grep in open buffers<leader>s/
: Search history<leader>sd
: Search diagnostics<leader>sD
: Search buffer diagnostics<leader>sh
: Search help pages<leader>sk
: Search keymaps<leader>ss
: Search LSP symbols<leader>sS
: Search LSP workspace symbols<leader>z
<leader>.
and <leader>S
<leader>n
<C-/>
The configuration is optimized for performance:
The project is open source and welcomes contributions. Whether you want to suggest improvements, report bugs, or add new features, your input is valuable to making this configuration better for everyone.
This Neovim configuration represents a modern approach to terminal-based editing, bringing together the best plugins and settings to create a powerful development environment. Whether you’re a Vim veteran or just starting your terminal editor journey, this configuration provides a solid foundation for your coding needs.
Ready to enhance your Neovim experience? Check out the configuration on GitHub to get started!