Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

1 Commit
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

KabirNvim ๐Ÿš€

A Modern Neovim Distribution with VS Code-style Keybindings

KabirNvim Neovim License

KabirNvim is a complete, user-friendly Neovim distribution that works out of the box with minimal configuration. It provides a modern IDE experience with VS Code-style keybindings, dual AI assistant support, and a beautiful transparent UI.

โœจ What Makes KabirNvim Different

  • ๐Ÿš€ Zero Configuration: Works perfectly out of the box
  • ๐ŸŽฏ VS Code Keybindings: Familiar shortcuts for easy transition
  • ๐Ÿค– Dual AI Support: Seamlessly switch between Copilot and Codeium
  • ๐ŸŽจ Beautiful UI: Gruvbox theme with transparency support
  • โšก Performance First: Optimized lazy loading and fast startup
  • ๐Ÿ”ง Easy Customization: Simple configuration without complex setups

๐Ÿš€ Quick Installation

One-Line Install

bash <(curl -s https://raw.githubusercontent.com/kabirajpan/kabirnvim/main/install.sh)

Manual Installation

# 1. Backup existing config
mv ~/.config/nvim ~/.config/nvim.backup

# 2. Clone KabirNvim
git clone https://github.com/kabirajpan/kabirnvim ~/.config/nvim

# 3. Start Neovim
nvim

That's it! KabirNvim will automatically:

  • Install all plugins
  • Set up language servers
  • Configure everything for you

๐ŸŽฎ Getting Started

Essential Commands

Command Description
:KabirNvimConfig Open configuration file
:KabirNvimInfo Show current settings
:KabirNvimUpdate Update all plugins
:KabirNvimReload Reload configuration

AI Assistants

Key Action
F8 Enable GitHub Copilot
F9 Enable Codeium
F10 Toggle between assistants

Key Features

  • File Explorer: Ctrl+E to toggle
  • Find Files: Ctrl+P for file search
  • Global Search: Ctrl+Shift+F to search in all files
  • Command Palette: Ctrl+Shift+P for commands

โš™๏ธ Configuration

KabirNvim uses a simple configuration approach. You only need to edit one file:

Quick Configuration

:KabirNvimConfig

Manual Configuration

nvim ~/.config/nvim/lua/user/config.lua

Configuration Options

-- ~/.config/nvim/lua/user/config.lua
return {
  -- Theme settings
  theme = {
    name = "gruvbox",        -- gruvbox, tokyonight, catppuccin
    transparent = true,       -- Enable transparency
    style = "dark",          -- dark, light
  },
  
  -- AI assistants
  ai = {
    copilot = true,          -- Enable GitHub Copilot
    codeium = true,          -- Enable Codeium
    default = "copilot",     -- Default AI assistant
  },
  
  -- Editor behavior
  editor = {
    number = true,           -- Show line numbers
    relative_number = false, -- Use relative line numbers
    wrap = false,            -- Wrap long lines
    indent_size = 2,         -- Indentation size
    auto_save = false,       -- Auto-save on change
  },
  
  -- Key binding style
  keymaps = {
    style = "vscode",        -- vscode, vim, custom
  },
  
  -- UI components
  ui = {
    dashboard = true,        -- Show dashboard on startup
    bufferline = true,       -- Show buffer tabs
    statusline = true,       -- Show status line
    file_explorer = "nvimtree", -- nvimtree, neotree, none
  },
}

๐ŸŽฏ Key Bindings

File Operations

Key Action
Ctrl+S Save file
Ctrl+N New file
Ctrl+W Close buffer
Ctrl+E Toggle file explorer
Ctrl+P Find files

Editing

Key Action
Ctrl+C/X/V Copy/Cut/Paste
Ctrl+Z/Y Undo/Redo
Ctrl+A Select all
Ctrl+/ Toggle comment
Alt+Up/Down Move line up/down

Navigation

Key Action
Alt+Left/Right Switch buffers
Ctrl+B Buffer list
F12 / gd Go to definition
Shift+F12 Find references

Search & Replace

Key Action
Ctrl+F Find in file
Ctrl+H Replace in file
Ctrl+Shift+F Global search

๐Ÿ”Œ Adding Custom Plugins

Edit ~/.config/nvim/lua/user/plugins.lua:

return {
  -- Add new plugin
  {
    "your-username/plugin-name",
    config = function()
      -- Plugin configuration
    end,
  },
  
  -- Override built-in plugin
  {
    "nvim-telescope/telescope.nvim",
    opts = {
      -- Custom telescope options
    },
  },
}

๐Ÿ› ๏ธ Language Support

KabirNvim automatically detects and installs language servers for:

  • Web Development: TypeScript, JavaScript, HTML, CSS, Tailwind
  • Systems: Rust, C/C++, Go
  • Scripting: Python, Lua, Bash
  • Data: JSON, YAML, TOML, XML
  • Others: Java, SQL, Markdown

๐ŸŽจ Themes

Switch themes easily:

:KabirNvimTheme tokyonight
:KabirNvimTheme catppuccin
:KabirNvimTheme gruvbox

Or use the theme picker:

:KabirNvimTheme

๐Ÿ”„ Updates

Keep your distribution up to date:

:KabirNvimUpdate

๐Ÿ†š Comparison

Feature KabirNvim AstroNvim NvChad
Setup Complexity โญโญโญโญโญ โญโญโญ โญโญโญ
VS Code Keybindings โœ… Built-in โŒ Manual โŒ Manual
Dual AI Support โœ… F8/F9/F10 โŒ Manual โŒ Manual
One-File Config โœ… user/config.lua โŒ Multiple files โŒ Multiple files
Transparency โœ… Built-in โš™๏ธ Manual setup โš™๏ธ Manual setup
Beginner Friendly โœ… Zero config โš™๏ธ Learning curve โš™๏ธ Learning curve

๐Ÿ“ Directory Structure

~/.config/nvim/
โ”œโ”€โ”€ init.lua              # Main entry point (don't edit)
โ”œโ”€โ”€ lua/
โ”‚   โ”œโ”€โ”€ kabirnvim/        # Distribution core (don't edit)
โ”‚   โ””โ”€โ”€ user/             # Your customizations
โ”‚       โ”œโ”€โ”€ config.lua    # Main configuration file
โ”‚       โ””โ”€โ”€ plugins.lua   # Custom plugins
โ””โ”€โ”€ README.md

You only need to edit files in the lua/user/ directory!

๐Ÿ› Troubleshooting

Common Issues

  1. Plugins not loading

    :Lazy sync
  2. Language servers not working

    :Mason
  3. AI assistants not working

    • Copilot: :Copilot auth
    • Codeium: :Codeium Auth
  4. Reset to defaults

    rm ~/.config/nvim/lua/user/config.lua
    nvim  # Will recreate with defaults

Debug Commands

  • :KabirNvimInfo - Show current configuration
  • :checkhealth - Check Neovim health
  • :Lazy - Manage plugins
  • :Mason - Manage language servers

๐Ÿ“„ Requirements

  • Neovim >= 0.8.0
  • Git (for plugin management)
  • Node.js (optional, for JS/TS language servers)
  • Python (optional, for Python development)
  • Nerd Font (recommended for icons)

Optional Dependencies

  • ripgrep - for faster searching
  • fd - for faster file finding
  • LazyGit - for advanced git integration

๐Ÿ“„ License

MIT License - See LICENSE file for details.

๐ŸŒŸ Contributing

Found a bug or want to suggest a feature? Please:

  1. Check existing issues first
  2. Create a detailed issue or PR
  3. Help make KabirNvim even better!

๐Ÿ’ Support

Love KabirNvim? Star the repo and share with friends!


Happy coding with KabirNvim! ๐Ÿš€

About

A modern Neovim distribution with VS Code-style keybindings and dual AI support

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages