My neovim configuration
Find a file
2025-07-20 17:20:48 +02:00
autoload Initial import 2024-05-23 08:33:22 +02:00
bundle Track deps 2025-04-25 19:18:33 +02:00
lua Add clang-format for c++ 2025-07-20 17:20:48 +02:00
spell Update spellcheck 2024-06-04 19:20:23 +02:00
template Simplify .hs template 2025-05-31 09:22:50 +02:00
.gitmodules Migrate to lspconfig 2025-04-24 11:38:42 +02:00
init.vim Updates for 0.11 2025-04-24 10:57:08 +02:00
nvim.vim Fix path to templates 2025-04-30 22:59:10 +02:00
README.md Add README.md and make it user independent 2025-05-18 10:08:28 +02:00

NVIM Configuration

Plugins

Make sure to fetch plugins as well:

git submodule update --init

Install / Update

For the addons:

sudo dnf install -y fzf ripgrep chafa

For Python:

sudo dnf install -y ruff
pip install -U pyright

For C/C++:

sudo dnf install -y clang-tools-extra

For JavaScript/TypeScript/Vue:

yarn global add typescript @vue/typescript-plugin @vue/language-server prettier

For Rust:

sudo dnf install -y rust-analyzer

To update TreeSitter parsers, use :TSUpdateSync<CR> inside nvim. To add parser for a language you need, use e.g. :TSInstallSync python<CR>.

Shortcuts

File finder:

  • <C-p> look for files.
  • <C-g> look for files mentioned by git status.
  • <C-/> look for lines matching given regular expression in any file.
  • <C-\> switch between open buffers (files).
  • <C-b> run nvim builtin operations.

Language Servers:

  • ca invoke code action (e.g. add missing import).
  • [d navigate to previous diagnostic.
  • ]d navigate to following diagnostic.
  • [e navigate to previous error.
  • ]e navigate to following error.
  • gd navigate to definition.
  • gD navigate to declaration.
  • gI navigate to implementation.
  • gt navigate to type definition.
  • gh display signature help (e.g. inside parenthesis).
  • gl reset diagnostics.