A starting point for Neovim that is:
- Small
- Modular
- Completely Documented
- Extendable
Install the latest stable version 'stable' and latest
External Requirements:
- Basic utils:
git,make,unzip, C Compiler (gcc) - ripgrep, fd-find
- A Nerd Font: optional, provides various icons
- if you have it set
vim.g.have_nerd_fontininit.luato true
- if you have it set
- Language Setup:
- If you want to write Typescript, you need
npm - If you want to write Golang, you will need
go - etc.
- If you want to write Typescript, you need
Note
Backup your previous configuration (if any exists)
Find your configuration under the following paths, depending on your OS:
| OS | PATH |
|---|---|
| Linux, MacOS | $XDG_CONFIG_HOME/nvim, ~/.config/nvim |
Fork this repo so that you have your own copy that you can modify. Then install by cloning the fork to your machine using one of the commands below, depending on your OS.
Note
Your fork's URL will be something like this:
https://github.com/<username>/configs.git
You likely want to remove lazy-lock.json from your fork's .gitignore file too
and track it in version control.
Note
If following the recommended step above (i.e., forking the repo), replace
nvim-lua with <your_github_username> in the commands below
Linux and Mac
git clone https://github.com/byfnoel/configs.git "${XDG_CONFIG_HOME:-$HOME/.config}"/nvimStart Neovim
nvimThat's it! Lazy will install all the plugins you have. Use :Lazy to view
the current plugin status. Hit q to close the window.
Read through the init.lua file in your configuration folder for more
information about extending and exploring Neovim. That also includes
examples of adding popularly requested plugins.
[!NOTE] For more information about a particular plugin check its repository's documentation.
- What should I do if I already have a pre-existing Neovim configuration?
- You should back it up and then delete all associated files.
- This includes your existing init.lua and the Neovim files in
~/.localwhich can be deleted withrm -rf ~/.local/share/nvim/
- What if I want to "uninstall" this configuration:
- See lazy.nvim uninstall information