Closed lucaseras closed 7 months ago
Fixes https://github.com/stevearc/oil.nvim/issues/295. Closing the preview window only when selecting an entry is not broad enough to handle when we change the buffer for some other reason (e.g. when doing :edit)
:edit
@lucaseras I fiddled with it a bit and tried a slightly different approach. See how that works for you
I like the new approach, thank you! I tested it locally and worked nicely
Fixes https://github.com/stevearc/oil.nvim/issues/295. Closing the preview window only when selecting an entry is not broad enough to handle when we change the buffer for some other reason (e.g. when doing
:edit
)