elihunter173/dirbuf.nvim

[Question] How might we have DirBuf open to the PWD of the current buffer?

megalithic opened this issue · 2 comments

I love dirbuf!

I was wondering if there was some way to have dirbuf "start" in the PWD of the current buffer/file?

Thanks so much! This has scratched my itch for an easy to use, super useful "tree" plugin.

Found it. thanks!

Just need to pass in the current buffer to require('dirbuf').open()

You can also call :Dirbuf % or use the <Plug>(dirbuf_up) mapping which also respects counts