-
nvim
plugin that replaces builtinnetrw
with external file managernnn
. -
nnn
is a real file manager that can be used outside ofnvim
. Learn once, use everywhere! -
Seamless
nvim
+nnn
integration. Use commandsnvim
,:edit
,:split
,:vsplit
, etc. -
Keeps
netrw
's "netrw-gx" feature. Open up file/URL under cursor withgx
keybinding. -
Supports
nnn
's "cd on quit" feature. See nnn/wiki/Basic-use-cases#configure-cd-on-quit
- Seamless integration - E.g. use it with default commands.
- User-friendly - E.g. move between splits with default keybindings.
- Minimal but feature complete - E.g. implement "cd on quit", "gx", etc.
- Clean code/Stable use - E.g. don't use
nvim
in a way it is not meant to be used. - Low effort - It should "just work" with low mental overhead.
These are the core goals that intertwine and leads to something unique and good enough that the release of yet another plugin is warranted.
Same procedure as for all other nvim
plugins; Download and extract/git clone
nnn-dir.nvim
at location ~/.local/share/nvim/site/pack/<X>/start/<Y>
(or
use a "package manager" if that is your thing).
Enable nnn-dir
with the following inside of ~/.config/nvim/init.[lua|vim]
:
[lua] require("nnn-dir").setup()