This is the neovim
configuration I use both personally 🏠 and profesionally 💼
Make sure you have installed the following:
Optionally, you can install LSPs:
And autoformatters (system-wide):
- stylua
- ruff and isort
- shellcheck
I use lazy.nvim as plugin manager.
If you cloned this repository and want to use this configuration yourself, run :checkhealth lazy
first.
Then, run :Lazy
to install plugins.
jk
mapped as<Esc>
is a great time saver.<Space-g>
opens a popup window with recursive grep search in the current directory. Blazing fast ⚡ thanks toripgrep
.<Space-f>
does the same but with file names. Superfast thanks tofzf
🔥<Space-t>
opens a terminal in vertical split on the right already in insert mode. Ready to type commands 👨💻<Space-n>
opens neogit 🌳<Space-o>
opens file manager in a floating window 🛢️<C-s>
shows git diff of the current line thanks togitsigns
.<C-|>
(un)comments either current line, or visually selected block of code 🔎
Codeium suggests snippets while typing, thanks to neocodeium
plugin.
Use the following:
<A-f>
to acccept the suggestion<A-r>
to cycle through the suggestions<A-e>
to cycle backwards
Using lualine, I built a status line which also includes tabs, and shows some other goodies:
- cmp
- conform
- gitsigns
- lualine
- neocodeium
- neogit
- noice
- nvim-comment
- nvim-lspconfig
- oil
- telescope
- tokyonight
- treesitter
Plus some others used indirectly as dependencies.