Skip to content

Conversation

D7ry
Copy link

@D7ry D7ry commented Mar 27, 2024

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
Copy link

MrRoiz commented May 11, 2024

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

@maskudo
Copy link

maskudo commented Dec 2, 2024

bump

@ruckerzerg
Copy link

What is the status here? Can we merge it please? This feature would be highly appreciated!

1orZero added a commit to 1orZero/diffview.nvim that referenced this pull request Oct 19, 2025
* pr-477:
  feat: auto close buffer opened by diff_view
1orZero added a commit to 1orZero/diffview.nvim that referenced this pull request Oct 19, 2025
This reverts commit 59d556e, reversing
changes made to 4516612.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants