My current .config/nvim setup.
Based on this video and this accompanying repo by ThePrimeagen.
-
Install ripgrep
-
Setup Packer
- Install Packer by running this:
git clone --depth 1 https://github.com/wbthomason/packer.nvim\
~/.local/share/nvim/site/pack/packer/start/packer.nvim
The easiest way to set this up on a new computer is to clone the repo into a personal directory, then create a symlink to the repo in ~/.config/
.
This can be done like this:
ln -s /Users/ahmad/Repos/personal/nvim-config ~/.config/nvim
Once the symlink is setup, do the following:
- Navigate to
lua/amkia/packer.lua
within~/.config/nvim
- Run
:so
then run:PackerSync
to download everything