sindrets / diffview.nvim

Single tabpage interface for easily cycling through diffs for all modified files for any git rev.
Other
3.57k stars 101 forks source link

feat: auto close buffer opened by diff_view #477

Open D7ry opened 3 months ago

D7ry commented 3 months ago

By setting delete_buffer_on_diff_exit in config, diff_view automatically closes all buffers opened as a result of previewing diff. I found myself checking the diffs a lot, that ends up adding a lot of buffers that clutters up my buffer line.

Buffers that are already opened before opening diff view aren't affected.

MrRoiz commented 1 month ago

Any update on this? I'd love this feature.