Keep the caret position when a file is automatically reloaded because it changed on disk, instead of going back to the top of the file.

Jocelyn Turcotte 8 years ago 0
It happens a lot when doing git rebase and similar stuff.
Just touching the file triggers that and it's very annoying.

The best would be to try matching the old text position and find where the caret should be moved.
Though simply going back to the same line number would already be a very nice improvement.