nx.explorer
nx.explorer.actions.open()
No documentation comment in the prelude.
Defined in explorer.lua.
nx.explorer.actions.up()
No documentation comment in the prelude.
Defined in explorer.lua.
nx.explorer.enable()
nx.explorer.enable(): turn the explorer on. Registers the BufReadCmd handler that
claims directory opens — pattern = "*" deciding per path via args.isdir, so it
claims directories and lets every file read fall through to the editor’s default load
(netrw’s exact model). Idempotent. Calling it makes a BufReadCmd handler exist,
which is what tells the core to defer a :e dir so this handler gets the chance to
claim it (see Editor::should_defer_open). Called at the bottom of this file, so the
explorer is on by default; a config could turn it off by clearing the autocmd.
Defined in explorer.lua.