4 ms·
Lazy version would be `:vsplit | lcd %:h | term ranger<cr>`. `vsplit` splits the window vertically. `lcd` sets the bufferlocal working directory which is a new
by Tarean 9y ago
Lazy version would be `:vsplit | lcd %:h | term ranger<cr>`.
`vsplit` splits the window vertically. `lcd` sets the bufferlocal working directory which is a new feature in neovim. `term ranger` launches the terminal emulator. If you wanted to be fancy you could add a toggle that reuses the same ranger instance which'd add an additional ~10 loc.