Closed LiquidFire closed 6 years ago
I am almost sure that this behavior is implemented in branch next (if not, it should be in some dev branch).
Feel free to test branch next and update this ticket.
You are right, this is fixed by f32316dc on the next branch.
Thank you!
Short description of the problem
After you use S to stage a hunk, the cursor moves to the next hunk and its fold is expanded. However, in some cases that hunk was beyond the end of the screen so you can only see the top few lines of it (depending on your
'scrolloff'
).It would be nice if vimagit scrolled so that the next hunk is at the top of the screen following
S
, in the same way it happens withC-n
andC-p
.Steps to reproduce
VIM - Vi IMproved 8.0 (2016 Sep 12, compiled May 1 2018 14:19:51) Included patches: 1-1783