You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First of all, thanks so much for this great project that not only works wonderfully, but is also so well documented.
I tend to open directories with the :e command:
The "strange" thing that I experience is when I open a new folder in a new tab, the neo-tree's buffer loaded in the first tab is displayed at the right of the recently neo-tree's displayed buffer in the new tab:
Nevertheless, if I toggle neo-tree (:Neotree filesystem reveal toggle) in a new tab, it doesn't behave like the previous case (which is what I would like it to behave):
I suppose that it has to do with how neo-tree "hickjacks" netrw, but I don't know how to configure it in order that the :e command behaves the same as :Neotree filesystem reveal toggle. I would appreciate some light on this, because using :e is a very convenient way for loading directories no matter where I opened neovim.
EDIT:
I tried the other two configurations of hijack_netrw_behavior: "open_current" and "disable". The closest to the desired behavior is "open_current", but only works if the only window is the one where neo-tree is shown:
After opening another folder in a new tab:
If I open any file and toggle neo-tree after, the undesired behavior is again shown:
After opening other directory in a new tab:
EDIT 2: some rephrasing for clarity and misspelling corrections.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
First of all, thanks so much for this great project that not only works wonderfully, but is also so well documented.
I tend to open directories with the

:e
command:The "strange" thing that I experience is when I open a new folder in a new tab, the neo-tree's buffer loaded in the first tab is displayed at the right of the recently neo-tree's displayed buffer in the new tab:

Nevertheless, if I toggle neo-tree (

:Neotree filesystem reveal toggle
) in a new tab, it doesn't behave like the previous case (which is what I would like it to behave):I suppose that it has to do with how neo-tree "hickjacks"
netrw
, but I don't know how to configure it in order that the:e
command behaves the same as:Neotree filesystem reveal toggle
. I would appreciate some light on this, because using:e
is a very convenient way for loading directories no matter where I opened neovim.EDIT:

I tried the other two configurations of
hijack_netrw_behavior
:"open_current"
and"disable"
. The closest to the desired behavior is"open_current"
, but only works if the only window is the one where neo-tree is shown:After opening another folder in a new tab:

If I open any file and toggle neo-tree after, the undesired behavior is again shown:

After opening other directory in a new tab:

EDIT 2: some rephrasing for clarity and misspelling corrections.
Beta Was this translation helpful? Give feedback.
All reactions