Personalized Neovim configuration crafted for efficient PHP coding
| after/plugin | ||
| colors | ||
| .editorconfig | ||
| .luarc.json | ||
| init.lua | ||
| LICENSE | ||
| README.md | ||
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
phpactorif you speak PHP- Optional:
lazygit,lazydocker,tigfor the git/docker goodies - Optional:
ollamawithqwen2.5-coder:7bfor code completion (like Github Copilot old school) - Optional:
opencodeCLI 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