After :SudoWrite the cursor jumps to the beginning of the file.
This behavior changed recently (I've just noticed it), and might be caused by some other changes I've made to my configuration.
I am will debug this further / provide more information, if you cannot confirm it.
Please, try current head. That should be fixed.
Thanks, it appears to work!