extending vim with shell commands | 14

File Navigation

rg

List all your files

rg --files

use gf to go to file under the cursor

map it

nnoremap <leader> f :new<cr>:.!rg --files<cr>

Note

I use and reccomend Telescope, but gf can work fantasic without any setup.