This is my simplistic Neovim configuration. The idea, in
addition to minimalism, is for it to take care of itself. In other words, if
you download Neovim, and have this in your .config/nvim then the plugins will
download and just work.
That's not to say that you should not configure it. One of my biggest hopes, given the organization, is that you understand it easily, and start adjusting it for yourself.
Now that the summary is out of the way, it is time to mention the few things you might concern yourself with:
lua/config/init.lua- But only to set your leader if different from space.
lua/plugins/- Add additional plugins here.
lua/config/options.lua- Neovim options like line numbers and search highlighting.
lua/config/keymaps.lua- Custom keymaps, with a few configured for you.
after/plugin/- Plugin configuration
Now that we've covered a small introduction, let's get on to the requirements that should be installed ahead of time.
- Neovim >= 0.9.4 (What I installed everything with, so I don't guarantee that it will work before this)
- Git >= 2.19.0
- ripgrep [Optional, but recommended]
Installation for Linux
git clone https://github.com/KettelBear/nvim.git ~/.config/nvim
You'll probably want to rm -rf .git/ from within .config/nvim afterwards.
All things Git within Neovim. The starting keymap for this is
<leader>gs.
A little extra flare to show changes live, and git blame.
Fast file navigation. You don't need a file tree!
Convenient LSP management with automated server installation via Mason. If you want to learn more about the additional plugins, and set up, you can start here.
Status line along the bottom of Neovim. You will probably want some type of Nerd Font for everything to cooperate nicely.
Incredible file navigation. This is where ripgrep comes into play. While
Neovim is open, you can search all files with default <leader>sf (search
files), or respect your .gitignore file with a search <leader>gf.
Just my preferred colorscheme.
Incredile syntax highlighting.
Have fun!