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
Is your feature request related to a problem? Please describe.
Is there a way to force-disable all prompts when opening a tree? Something similar to reveal_force_cwd but without actually forcing the cwd.
The context is that a session or vimscript sets up a workspace by calling Neotree, but this might trigger "File not in cwd. Change cwd to..." prompts, even though we're not in "interactive mode" so to speak. The prompt might consume the next normal! or have some other unwanted behavior.
Describe the solution you'd like.
Perhaps something like Neotree filesystem reveal noprompt
Describe alternatives you've considered.
I tried a few combinations like reveal_force_cwd dir=. but would still get prompts sometimes.
Sorry if I missed this in :h neo-tree-configuration, it seemed more about custom rendering and sources. But if an easy hook will suppress any prompts then that works too! Thanks in advance.
Additional Context
No response
The text was updated successfully, but these errors were encountered:
With #1649 the behavior is now that if dir is specified, then neotree will not prompt. The prompt will only happen if neither reveal_force_cwd nor dir is set. so now dir=. should be fine?
Did you check the docs?
Is your feature request related to a problem? Please describe.
Is there a way to force-disable all prompts when opening a tree? Something similar to
reveal_force_cwd
but without actually forcing the cwd.The context is that a session or vimscript sets up a workspace by calling Neotree, but this might trigger "File not in cwd. Change cwd to..." prompts, even though we're not in "interactive mode" so to speak. The prompt might consume the next
normal!
or have some other unwanted behavior.Describe the solution you'd like.
Perhaps something like
Neotree filesystem reveal noprompt
Describe alternatives you've considered.
I tried a few combinations like
reveal_force_cwd dir=.
but would still get prompts sometimes.Sorry if I missed this in
:h neo-tree-configuration
, it seemed more about custom rendering and sources. But if an easy hook will suppress any prompts then that works too! Thanks in advance.Additional Context
No response
The text was updated successfully, but these errors were encountered: