Personalized Neovim configuration crafted for efficient PHP coding
Find a file
2026-05-28 13:09:18 +02:00
after/plugin Move polyfill for get_active_clients to after/plugin/lsp-polyfill.lua 2025-08-18 19:56:01 +02:00
colors Improve nuvim colorscheme based on gruvbox 2024-05-24 18:57:47 +02:00
.editorconfig Configure project code style for editor 2024-04-21 17:11:20 +02:00
.luarc.json Configure project code style for editor 2024-04-21 17:11:20 +02:00
init.lua minuet: add virtualtext keymaps (Tab accept, M-e dismiss) 2026-05-28 13:09:18 +02:00
LICENSE Initial commit 2023-08-27 23:08:47 +02:00
README.md minuet: add virtualtext keymaps (Tab accept, M-e dismiss) 2026-05-28 13:09:18 +02:00

nuVim

My Neovim config for PHP stuff. Built on mini.nvim.

Not a blueprint. Just my digital backpack. Steal what works, leave the rest.

Requirements

  • Neovim >= 0.9
  • phpactor if you speak PHP
  • Optional: lazygit, lazydocker, tig for the git/docker goodies
  • Optional: ollama with qwen2.5-coder:7b for code completion (like Github Copilot old school)
  • Optional: opencode CLI if you want AI chat (ctrl+g)

Installation

mv ~/.config/nvim ~/.config/nvim.bak
git clone git@git.eher.com.br:EHER/nuVim.git ~/.config/nvim

First launch auto-installs mini.nvim and plugins. Go make coffee.

Keymap

Leader is space

General

  • K Show hover information
  • ctrl+s Save
  • ctrl+z Toggle terminal
  • ctrl+g Toggle AI chat (if opencode is around)
  • Tab Accept LLM suggestion
  • M-e Dismiss LLM suggestion
  • ctrl+space Terminal normal mode
  • ctrl+Tab / ctrl+shift+Tab Next / Previous buffer

Navigation

  • g D Go to type declaration
  • g I Go to implementation
  • g y Go to type definition
  • [ b / ] b Previous / Next buffer
  • [ d / ] d Previous / Next diagnostic
  • [ h / ] h Previous / Next hunk

Windows

  • space \ Split horizontally
  • space | Split vertically

Buffers

  • space b b List buffers
  • space b d Delete buffer
  • space b h Hide buffer
  • space b H Hide buffer from window
  • space b o Keep only this buffer
  • space b w Wipeout buffer
  • space c / space C Close buffer / Close all buffers
  • space w Save

File Explorer

  • space e Open
  • space o Focus on buffer path

Find

  • space f f Find files
  • space f g Git files
  • space f w Live grep
  • space f c Word under cursor
  • space f e Explorer
  • space f C Commands
  • space f H Help
  • space f h Command history
  • space f o Old files

Git

  • space g g Open lazygit
  • space g t Open tig
  • space g s Status
  • space g l Log
  • space g d Diff current file
  • space g D Diff all files
  • space g h Preview hunk
  • space g a Add current file
  • space g c Commit
  • space g A Commit amend
  • space g P Push
  • space g p Pull
  • space g S Show
  • space g b Branches
  • space g C Buffer commits

LSP

  • space l a Code actions
  • space l d Line diagnostics
  • space l D Document diagnostics
  • space l e References
  • space l f Format
  • space l k Signature help
  • space l r Rename
  • space l s Symbols
  • space l t Type definition

Plugins

  • space p u Update plugins
  • space p x Clean plugins
  • space p m Mason (manage LSP servers)
  • space p M Mason update

Docker

  • space d d Open lazydocker

Colorscheme

  • space s s Select colorscheme
  • space s w Save current as nuvim

Config

  • space q Quit
  • space u e Open config
  • space u o Reload config