ughhh, #Netrw is such a mess.

But it comes with every installation of #Vim and #Neovim, so as someone who enjoys minimalism and likes to keep the number of additional plugins to a minimum, I feel like I should learn to use it and integrate it into my workflow.

But I've just used :Rexplore on a dirty file with 'nohidden' and it simply replaced my file's contents with the directory listing 😬

Also, don't make the mistake of looking at its source, or visiting the maintainer's "website" …

@scy I have simply deactivated unneeded plugins in my options. #neovim

-- Disable bloated stuff
local disabled_built_ins = {
"2html_plugin",
"getscript",
"getscriptPlugin",
"gzip",
"matchit",
"netrw",
"netrwPlugin",
"rplugin",
"spellfile_plugin",
"tar",
"tarPlugin",
"tohtml",
"tutor",
"vimballPlugin",
"zip",
"zipPlugin",
}

for _, plugin in pairs(disabled_built_ins) do
vim.g["loaded_" .. plugin] = 1
end

Follow

@gnadenelfmeter @scy Whats the benefit of doing this? Does it load faster?

Sign in to participate in the conversation
Librem Social

Librem Social is an opt-in public network. Messages are shared under Creative Commons BY-SA 4.0 license terms. Policy.

Stay safe. Please abide by our code of conduct.

(Source code)

image/svg+xml Librem Chat image/svg+xml