elihunter173/dirbuf.nvim

Feature Request: Popd-like interface

Diegovsky opened this issue · 4 comments

We currently have "-" mapped to (dirbuf_up), but it would be great to also have something like a directory history to go back to, just like a "back" button in a browser.

I instinctively use and to navigate jump lists, so it would be very nice to have something like it for dirbuf. I'm not talking about implementing it as a the jump list, just using it as an example.

This seems reasonable. Do you know of any examples of other file managers / plugins which do this?

I know the Windows file manager and Nautilus do this. The back and forward arrows on the GUI don't actually navigate the directtory hierarchy, they navigate folder history.

I don't know of a plugin that does this unfortunately :(

This functionality exists now with commit 5a1880a. You can use the <Plug>(dirbuf_history_forward) and <Plug>(dirbuf_history_backward) to navigate the history

Noice! Thank you so much :D