[explorer] Locate current buffer in the filetree #1032
Answered
by
folke
LintaoAmons
asked this question in
Q&A
-
Don't know if there's a method equivalent to the |
Beta Was this translation helpful? Give feedback.
Answered by
folke
Feb 9, 2025
Replies: 1 comment
-
Just added IF the explorer's cwd doesn't contain the file, it will go up thr tree until it's visible and then focus it. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
LintaoAmons
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Just added
Snacks.explorer.reveal()
.When not open yet, it will open an explorer.
IF the explorer's cwd doesn't contain the file, it will go up thr tree until it's visible and then focus it.