Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to re-enable Netrw #66

Closed
isaacthefallenapple opened this issue Jan 16, 2023 · 2 comments
Closed

How to re-enable Netrw #66

isaacthefallenapple opened this issue Jan 16, 2023 · 2 comments

Comments

@isaacthefallenapple
Copy link

I've been customizing this setup mostly by paring it way down but disabling neo-tree leaves me with no file explorer. :Ex just throws a E492: not an editor command: Ex error. Is there a way to re-enable Netrw?

I've haphazardly tried to remove all the configuration from the "neo-tree" entry in in ~/.local/share/nvim/LazyVim/lua/lazyvim/plugins/editor.lua such that it's only

local Util = require("lazyvim.util")

return {

    -- file explorer
    {
        "nvim-neo-tree/neo-tree.nvim",
    },
    -- everything else left untouched
    -- ...
}

but that seems to have done nothing.

Thanks for any pointers, and thanks for the cool plugin!

@folke
Copy link
Collaborator

folke commented Jan 16, 2023

The starter has netrw disabled by default (since we include neo-tree), so just comment that line in your lua/config/lazy.lua file:

https://github.com/LazyVim/starter/blob/888600e7ff4b0d8be0db18db932632830bfb7804/lua/config/lazy.lua#L32

@folke folke closed this as not planned Won't fix, can't repro, duplicate, stale Jan 16, 2023
@isaacthefallenapple
Copy link
Author

Cheers!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants