Auto expand to current file #2911
Unanswered
BhasherBEL
asked this question in
Q&A
Replies: 1 comment
-
You can automatically expand the tree to focus on the current file, with several options to customise this: It's turned off by default. There are also several recipes here to define startup behaviour: wiki: Open At Startup I reckon "Open For Files And [No Name] Buffers" might suit you. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is your feature request related to a problem? Please describe.
When opening a file, i.e. with
nvim a/b/c.sh
, nvim tree shows the current folder, which is really nice, but don't expand to the opened file.Describe the solution you'd like
It would be nice to be able to automatically expend the tree up to the current file, at least at startup, but probably also when using commands such as
:split
,:edit
, ...Describe alternatives you've considered
For now, I manually expand the tree, but it's not really a long-term solution.
Beta Was this translation helpful? Give feedback.
All reactions