g;, but often I find myself repeatedly doing
g; until the screen changes. The reason for this is that I am often editing in two different places in the file. If I think ahead, I should set marks at the two places, but I usually forget to do this. Also, I don't know how many edits I made at the current "screen" so I can't just do
ng; for some n. An alternative workflow would be to split the screen and edit in two places that way, but I just haven't gotten used to that workflow and even in that case, I think I would still find this functionality useful. Finally, I often use
'' but it often doesn't do what I want since I commonly search different parts of the file and I really want to jump to the last part of the file (that's not on the current screen) where I made a change.
How can I make a command that will essentially repeat
g; until the screen changes?