A simple Neovim configuration for personal development.
- Neovim (v0.11.0+)
- Git
- PowerShell 7+ (Only for Windows users).
- Install Neovim (via winget):
winget install Neovim.Neovim
or via scoop
- Install PowerShell (if not installed):
winget install Microsoft.PowerShell
- Clone Config:
# Backup old config if exists
if (Test-Path $env:LOCALAPPDATA\nvim) { Rename-Item $env:LOCALAPPDATA\nvim nvim.bak }
git clone https://github.com/storious/nvim-conf.git $env:LOCALAPPDATA\nvim
- Install Neovim:
- macOS:
brew install neovim
- Ubuntu/Debian:
sudo add-apt-repository ppa:neovim-ppa/unstable
sudo apt update
sudo apt install neovim
- Clone Config:
# Backup old config if exists
[ -d ~/.config/nvim ] && mv ~/.config/nvim ~/.config/nvim.bak
git clone https://github.com/storious/nvim-conf.git ~/.config/nvim
| Key |
Action |
<leader>w |
Save file |
<leader>x |
Close buffer (force close in terminal) |
<leader>e |
Open file explorer |
<leader>fm |
Format code |
| Key |
Action |
]b / [b |
Next / Previous buffer |
Tab / S-Tab |
Next / Previous tab |
<leader>tn |
New tab |
<leader>tc |
Close tab |
| Key |
Action |
<M-h/j/k/l> |
Navigate windows |
<leader>tt |
Open terminal in new tab |
<leader>tv |
Open terminal in vertical split |
<M-i> |
Toggle float terminal |
<Esc><Esc> |
Exit terminal mode |
| Key |
Action |
gd |
Go to definition |
gr |
Find references |
<leader>rn |
Rename symbol |
<leader>ca |
Code action |
<leader>dd |
Show diagnostics |
]d / [d |
Next / Previous diagnostic |
| Key |
Action |
<C-c> |
Copy to system clipboard |
<C-x> |
Cut to system clipboard |
<C-p> |
Paste from system clipboard |