Before you download this make sure your system has the following:
- Python3
- NodeJS
- npm
- Packer.nvim
- Stylua
- Nerd-Fonts
- ripgrep
Once you have installed the above pre-requisites all you need to do is
- Clone this repository (The below command will create the
nvim
directory inside of~/.config
)
cd ~/.config
git clone https://github.com/Adonca2203/nvim.git
cd nvim
- Open NVIM by typing
nvim
- You will see a lot of errors. Just press q until you enter the text editor
- In Normal Mode, type
:PackerSync
and hit Enter. This will download all the dependencies needed - Quit out of NVIM (
:q
) - Reopen NVIM and you should be all set
This config uses formatter.nvim for formatting. Currently I have the following formatters:
When in a file for the above file types you can simply do :Format
or :FormatWrite
while in Normal mode to format or format + write the file respectively