diffview.nvim icon indicating copy to clipboard operation
diffview.nvim copied to clipboard

[Feature] Configurable automatic refreshing

Open ofirgall opened this issue 1 year ago • 2 comments

When I stage a hunk on DiffviewOpen the diff is refreshing and its annoying, you have any idea why it happens and how can I stop it?

ofirgall avatar Sep 08 '22 09:09 ofirgall

This is intended behavior. Why is it annoying?

sindrets avatar Sep 08 '22 09:09 sindrets

  1. It moves the cursor out of position, I want to be able to quickly decide what I want to stage/reset, my stage bind goes to the next hunk immediately then the view is being refreshed and my cursor is out of position
  2. On a slow machine it takes time

The first issue is probably solvable but I would like to be able to disable it too If i use a slow machine, unfortunately I work on WSL1 because of Hyper V stuff so I suffer from it.

ofirgall avatar Sep 08 '22 09:09 ofirgall