Prerequisite: install ripgrep.
Video walkthrough of how to config your NeoVim like ThePrimeagen: https://youtu.be/w7i4amO_zaE
- What the file structure looks like:
Click here for NeoVim documentation on netrw:
- Enter netrw from the terminal:
nvim .
- Scroll using
j and k
, (up and down) - Select / open a file or dir with
Enter
- Close a file
leader pv
the leader key is the spacebar - Fuzzy find while in netrw
leader pf
- Open the fuzzy finder from within a neovim file (accessed via netrw):
Ctrl + p
- Scroll up and down within the fuzzy finder using
up and down arrow keys
and typing the file name - Open up the file tree without closing the file you are in. use the cmd
:Vex
vertical explore. (split window). - Hop left-right between windows: enter window mode
ctrl + w
thenl
to go right &ctrl + w
+h
go left. - Return to the original file, (close all window splits),
ctrl + w
+o
For anyone that is interested in Prime's vimrc, he will have a commit log below
documenting each commits (easy to C-f the change you want to know
about though i would just suggest git log -S
).