A modern, fast, modular Neovim IDE configuration powered by lazy.nvim, snacks.nvim, sqmeow.nvim, opencode.nvim, neocodeium, blink.cmp, and nvim-origami.
This configuration utilizes Neovim 0.10+ native features (LSP inlay hints, diagnostics structure, vim.uv, Treesitter foldexpr, and modern plugin APIs).
| Operating System | Installation Method / Command |
|---|---|
| Ubuntu / Debian | sudo add-apt-repository ppa:neovim-ppa/unstable -y && sudo apt update && sudo apt install -y neovim(Or download the official AppImage below) |
| Arch Linux | sudo pacman -S neovim |
| Fedora | sudo dnf install neovim |
| macOS (Homebrew) | brew install neovim |
| Windows (winget) | winget install Neovim.Neovim |
| Universal Linux (AppImage) | bash<br>curl -LO https://github.com/neovim/neovim/releases/latest/download/nvim-linux-x86_64.appimage<br>chmod u+x nvim-linux-x86_64.appimage<br>sudo mv nvim-linux-x86_64.appimage /usr/local/bin/nvim<br> |
Verify your Neovim version:
nvim --version # Must be >= 0.10.0To enable all features (fuzzy pickers, code completion, Tree-sitter parsers, database tooling, formatters, and AI assistance), install the following tools:
| Tool | Purpose in Configuration |
|---|---|
git |
Plugin management via lazy.nvim, neogit, diffview, and gitsigns |
make & gcc / clang |
C compiler for Treesitter parsers and LuaSnip regex extensions |
ripgrep (rg) |
Fast workspace search & live grep in snacks.picker |
fd / fd-find |
Fast file indexing and image search in snacks.picker / snacks.image |
unzip, tar, curl |
Required by mason.nvim to download and unpack LSPs and formatters |
nodejs & npm / pnpm |
Required for Mason formatters & LSPs (prettier, sql-formatter, etc.) |
python3 & pip |
Python language support and linters |
sqlite3 |
SQLite CLI engine for local database testing |
opencode CLI (Optional) |
AI coding assistant integration (opencode.nvim) |
-
Ubuntu / Debian:
sudo apt update && sudo apt install -y \ git \ build-essential \ ripgrep \ fd-find \ unzip \ curl \ nodejs \ npm \ python3 \ python3-pip \ sqlite3 # Ubuntu packages fd as fdfind; symlink to fd so Neovim/Snacks can discover it: mkdir -p ~/.local/bin ln -sf $(which fdfind) ~/.local/bin/fd
-
Arch Linux:
sudo pacman -S --needed \ git \ base-devel \ ripgrep \ fd \ unzip \ curl \ nodejs \ npm \ python \ python-pip \ sqlite
-
Fedora:
sudo dnf install -y \ git \ @development-tools \ ripgrep \ fd-find \ unzip \ curl \ nodejs \ npm \ python3 \ python3-pip \ sqlite
-
macOS (Homebrew):
brew install git ripgrep fd unzip curl node python sqlite
-
Windows (winget / PowerShell):
winget install Git.Git BurntSushi.ripgrep.MSVC sharkdp.fd OpenJS.NodeJS Python.Python.3 SQLite.SQLite
curl -fsSL https://opencode.ai/install | bashThis configuration has vim.g.have_nerd_font = true enabled and relies on a Nerd Font (v3.0+) for:
- File tree icons (
nvim-web-devicons, Snacks Explorer) - Statusline glyphs and database indicators in
lualine(σ°Ό) - Markdown rendered heading numerals and badges (
render-markdown.nvim:σ°€,σ°§,σ°ͺ, etc.) - Database tree and drawer node icons in
sqmeow.nvim(οΌ,ο,σ°,σ°«,σ°,σ°,σ°,σ°) - LSP diagnostic status signs (
ξͺ,οͺ,ξΏ,ξΌΊ) - Blink completion item kind icons
- JetBrainsMono Nerd Font (Recommended)
- FiraCode Nerd Font
- MesloLGS Nerd Font
- Hack Nerd Font
-
Ubuntu / Debian:
# Ensure fontconfig and curl are installed sudo apt install -y fontconfig curl # Download and install JetBrainsMono Nerd Font mkdir -p ~/.local/share/fonts curl -fLO https://github.com/ryanoasis/nerd-fonts/releases/latest/download/JetBrainsMono.tar.xz tar -xf JetBrainsMono.tar.xz -C ~/.local/share/fonts/ rm JetBrainsMono.tar.xz fc-cache -fv
-
Arch Linux:
sudo pacman -S ttf-jetbrains-mono-nerd
-
Fedora:
sudo dnf copr enable che/nerd-fonts sudo dnf install -y jetbrains-mono-nerd-fonts -
macOS (Homebrew):
brew install --cask font-jetbrains-mono-nerd-font
-
Windows (winget):
winget install --id=DEVCOM.JetBrainsMonoNerdFont
-
Universal Linux (Manual Download): Download any font archive from Nerd Fonts Downloads or GitHub Releases, extract
.ttf/.otffiles to~/.local/share/fonts/, and runfc-cache -fv.
Important
Configure your Terminal Emulator: After installing the font, open your terminal settings (Alacritty, Kitty, WezTerm, Ghostty, iTerm2, Windows Terminal, etc.) and set the font to JetBrainsMono Nerd Font (or your chosen Nerd Font).
# Backup Neovim config and cache
mv ~/.config/nvim ~/.config/nvim.backup.$(date +%Y%m%d) 2>/dev/null
mv ~/.local/share/nvim ~/.local/share/nvim.backup.$(date +%Y%m%d) 2>/dev/null
mv ~/.local/state/nvim ~/.local/state/nvim.backup.$(date +%Y%m%d) 2>/dev/null
mv ~/.cache/nvim ~/.cache/nvim.backup.$(date +%Y%m%d) 2>/dev/null# Via HTTPS:
git clone https://github.com/george-tk/nvim.git ~/.config/nvim
# Or via SSH:
# git clone git@github.com:george-tk/nvim.git ~/.config/nvimnvimOn first launch:
lazy.nvimwill automatically clone and install all plugins.mason-tool-installerwill automatically install configured LSPs (lua_ls,marksman) and formatters (stylua,prettier,sql-formatter).nvim-treesitterwill compile syntax parsers.
Run the built-in health check to confirm all tools and dependencies are properly detected:
:checkhealth- In Neovim, press
<leader>au(or run:NeoCodeium auth). - Open the URL shown in your browser to sign in or create your free Codeium account.
- Copy the authentication token provided on the webpage.
- Paste the token into the Neovim prompt at the bottom and press
Enter. - (Done!) Inline AI ghost text is now ready and will automatically suggest code as you type in Insert mode.
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ¬βββββββββββββββββββββββββββ
β β Right Panel β
β Code Editor β (<C-l>) β
β (Center) β β
β β 1. File Explorer (35 w) β
β β 2. DB Explorer (35 w) β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€ 3. OpenCode AI (38% w) β
β Unified Bottom Output (<C-j>) β (Only ONE ever visible) β
β β β
β 1. Persistent Multi-Terminals (<leader>T / [N]<C-j>) β * DB Drawer is never β
β 2. SQL Query Results Table (<leader>bo / <leader>br) β split by queries β
β (Strictly Center-Scoped, never splits the right side) β β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ΄βββββββββββββββββββββββββββ
| Keybinding | Action | Description |
|---|---|---|
<C-l> |
Right Panel | Dynamically toggle active right tool (File Explorer, DBUI, AI) |
<C-j> |
Bottom Output | Dynamically toggle active bottom tool (Terminal, SQL Results) |
<C-h> |
Editor Left | Return directly to Code Editor from any side panel |
<C-k> |
Editor Up | Navigate up from bottom output back into Code Editor |
| Keybinding | Mode | Action |
|---|---|---|
<M-h> |
Normal, Insert, Terminal | Shrink width by 3 columns |
<M-l> |
Normal, Insert, Terminal | Expand width by 3 columns |
<M-k> |
Normal, Insert, Terminal | Expand height by 2 lines |
<M-j> |
Normal, Insert, Terminal | Shrink height by 2 lines |
<C-w>= |
Normal | Reset all windows to default IDE dimensions |
βββββββββββββββββββββββββββ¬βββββββββββββββββββββββββββββββββββ¬ββββββββββββββββββββββββββββββββββ
β Zone β Left / Collapse (h) β Right / Expand (l / CR) β
βββββββββββββββββββββββββββΌβββββββββββββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββ€
β 1. File Explorer β Collapse folder / go to parent β Expand / Open file β
β 2. Database Explorer β Collapse table / go to parent β Expand / Open table query β
β 3. Code Editor Buffer β Smart collapse fold (origami) β Smart expand fold (origami) β
βββββββββββββββββββββββββββ΄βββββββββββββββββββββββββββββββββββ΄ββββββββββββββββββββββββββββββββββ
| Keybinding | Action | Description |
|---|---|---|
<leader>1 .. <leader>9 |
Buffer Jump | Switch to buffer 1 through 9 instantly |
<leader><Tab> |
Next Buffer | Navigate to next open buffer |
<leader><S-Tab> |
Previous Buffer | Navigate to previous open buffer |
<leader>q |
Close Buffer | Delete current buffer |
<leader>r |
Alternate Buffer | Switch to previous alternate buffer |
<leader>d |
Dashboard | Return to start dashboard |
<leader>z |
Zen Mode | Toggle distraction-free centered Zen Mode |
<leader>e |
File Explorer | Open/switch right panel to File Explorer (35 cols) |
<leader>T |
Terminal | Open/toggle persistent Terminal at bottom |
<leader>p |
Git Pull | Direct 1-key Git pull via Neogit |
<leader>P |
Git Push | Direct 1-key Git push via Neogit |
<leader>= |
Format Buffer | Run code formatter via Conform |
| Keybinding | Action | Description |
|---|---|---|
<leader>ff |
Find Files | Search files in workspace |
<leader>fw |
Find Word | Live ripgrep workspace (in visual mode: auto-seeds selection) |
<leader>fu |
Undo History | Visual undo diff tree with <C-y>/<C-S-y> yanking |
<leader>fr |
Resume Last Picker | Reopen previous picker, query, and scroll position |
<leader>fp |
All Pickers | Meta-picker to search and launch any Snacks picker |
<leader>fn |
Notifications | Find & view all notification history |
<leader>fh |
Help Tags | Neovim help documentation |
<leader>fk |
Keymaps | Search all registered keymaps |
| Keybinding | Action | Description |
|---|---|---|
<leader>be |
Database Explorer | Open Database Explorer drawer on the right panel (35 cols) with Tables, Views, Sequences, Functions, Procedures, Roles |
<leader>bs |
Switch Database | Fast fuzzy picker to switch / bind database environments on the fly |
<leader>br |
Run Query | Execute statement under cursor or visual block into bottom result grid |
<leader>bq |
Query Scratchpad | Open clean, blank SQL buffer connected to active DB |
<leader>bw |
Save Query | Bookmark current query to persistent storage |
<leader>bl |
Saved Queries | Fuzzy search and open saved queries into editor buffer |
<leader>bo |
Query Output | Show/hide Query Results Table without re-executing |
<leader>ba |
Add Database | Interactive prompt to add a new connection URL |
<leader>bd |
Delete Database | Interactive picker to remove a connection |
<leader>bf |
Float Results | Toggle results window between bottom split and centered floating modal |
<leader>bv |
Review Edits | Review and commit in-grid cell edits directly to database |
<leader>bx |
Export Results | Export query results to CSV, JSON, or SQL insert statements |
| Keybinding | Action | Description |
|---|---|---|
<leader>tt |
Todo List | Open interactive Todo List |
<leader>tb |
Todo Board | Open Kanban-style Todo Board |
<leader>tn |
New Todo | Create new Todo item |
<leader>tr |
Reference Todo | Add reference to current code location |
<leader>tj |
Jump to Todo | Jump directly to Todo location |
<leader>tl |
Todo Log | View completed/archived log |
| Keybinding | Action | Description |
|---|---|---|
<leader>p |
Git Pull | Quick 1-key pull |
<leader>P |
Git Push | Quick 1-key push |
<leader>gs |
Status | Neogit status |
<leader>gc |
Commit | Open commit editor |
<leader>gp |
Push | Git Push popup (or <leader>P directly) |
<leader>gl |
Pull | Git Pull popup (or <leader>p directly) |
<leader>gb |
Branch | Branch switcher |
<leader>gd |
Diff | Diffview open |
| Keybinding | Action | Description |
|---|---|---|
<leader>mt |
Create Table | Prompt for table dimensions |
<leader>mr |
Row Below | Insert row below cursor |
<leader>ma |
Row Above | Insert row above cursor (replaces Shift+R) |
<leader>mc |
Column Right | Insert column after cursor |
<leader>mb |
Column Left | Insert column before cursor (replaces Shift+C) |
<leader>md |
Delete Row | Delete current table row |
<leader>mx |
Delete Column | Delete current table column |
<leader>mu |
Update Numbering | Renumber ordered lists |
<leader>mi |
Insert Image | Search image & insert relative markdown link |
| Keybinding | Action | Description |
|---|---|---|
<leader>st |
Spelling Toggle | Toggle spell check on/off (replaces Shift+S) |
<leader>ss |
Spelling Suggestions | Open picker suggestions |
<leader>sn |
Next Spell Error | Jump to next error |
<leader>sp |
Previous Spell Error | Jump to previous error |
| Keybinding | Mode | Action | Description |
|---|---|---|---|
<M-a> (Alt+a) |
Insert | Accept Full Suggestion | Accept complete inline AI ghost text |
<M-w> (Alt+w) |
Insert | Accept Word | Accept AI suggestion one word at a time |
<M-e> (Alt+e) |
Insert | Accept Line | Accept AI suggestion one line at a time |
<M-n> (Alt+n) |
Insert | Next Suggestion | Cycle to next alternative AI suggestion |
<M-p> (Alt+p) |
Insert | Previous Suggestion | Cycle to previous alternative AI suggestion |
<M-c> (Alt+c) |
Insert | Clear / Dismiss | Dismiss currently visible ghost text |
<leader>ae |
Normal | Toggle AI Autocomplete | Enable or disable inline AI completion globally |
<leader>au |
Normal | AI Auth / Status | Authenticate with Codeium or check account status |
| Keybinding | Action | Description |
|---|---|---|
<leader>aa |
Ask AI | Prompt referencing @this selection/file |
<leader>as |
AI Prompts | Prompt menu (explain, fix, test, review) |
<leader>at |
AI Panel | Right sidebar panel toggle (38% width) |
<leader>an |
New AI Session | Fresh conversation |
<leader>ac |
Compact AI Session | Compact history to conserve tokens |
MIT License. Feel free to use and adapt for your own Neovim workflow!