My neovim configuration
| autoload | ||
| bundle | ||
| lua | ||
| spell | ||
| template | ||
| .gitmodules | ||
| init.vim | ||
| nvim.vim | ||
| README.md | ||
| setup | ||
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 bygit status.<C-/>look for lines matching given regular expression in any file.<C-\>switch between open buffers (files).<C-b>runnvimbuiltin operations.
Language Servers:
cainvoke code action (e.g. add missing import).[dnavigate to previous diagnostic.]dnavigate to following diagnostic.[enavigate to previous error.]enavigate to following error.gdnavigate to definition.gDnavigate to declaration.gInavigate to implementation.gtnavigate to type definition.ghdisplay signature help (e.g. inside parenthesis).glreset diagnostics.