Open tree for current buffer #3065
-
First off, thank you for this awesome plugin! It's great. Is it possible to configure the plugin so that the tree opens relative to the buffer's current location on your computer? For instance, I'll often originally open up nvim in Is it possible to open the tree dynamically based on which buffer is currently focused? |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments
-
|
Beta Was this translation helpful? Give feedback.
-
(actually, checking for 'help' filetype is not that necessary, I guess) |
Beta Was this translation helpful? Give feedback.
-
Thank you! Worked perfectly, alongside the |
Beta Was this translation helpful? Give feedback.
-
sorry new to nvim, may i ask where should i add this command to, i have some problem as the issue owner has here.thx |
Beta Was this translation helpful? Give feedback.
-
[you should add it] to your neovim config. Depends on what structure you use. It can be either:
|
Beta Was this translation helpful? Give feedback.
au BufEnter * if &ft != 'help' | silent! cd %:p:h | endif