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
Nvim Tree prevents gx mapping working #22
Comments
well leaving netrw would obviously conflict with nvim tree. |
The refactoring is almost done, is still have 2/3 quircks to fix but it should come soon, i'll add this in it. |
I'm not sure if this is related, but I can't use use {
'kyazdani42/nvim-tree.lua',
requires = 'kyazdani42/nvim-web-devicons',
config = function()
require'nvim-tree'.setup {
disable_netrw = true,
hijack_netrw = false
}
end
} and have tried both of them set to false, but I still receive this error:
Any ideas? I'd appreciate it thanks! Update: Just realized that since I put the config option inside of the use function I have to recompile pcaker everytime I change the options. I moved it and that fixed it. Thank you! |
It seems like
g:loaded_netrw
is being set bynvim-tree
at some point, which I probably wouldn't have noticed if not for the fact that I usegx
often to follow links in nvim. I know Netrw interferes with other alternative tree plugins as this has been something I've seen across several plugins. But is it possible to avoid disabling it altogether or at least maintaining thegx
behaviour. Maybe a replacement mapping togx
that calls loads netrw only for that purpose.Not entirely sure how that would work tbh
The text was updated successfully, but these errors were encountered: