I've been using Vim regularly for a decade, but still feel rather inexperienced because there is so much of Vim that I am not aware of and do not use.
I sometimes want to see two different parts of a single file and edit both simultaneously, without having to either
- Make an edit at the top, scroll down, make an edit at the bottom, scroll up (etc.) or
- have two views open, make an edit in one session, save the file in that session, switch to the second session, reload the file in the second session, make an edit, save, switch to first session (etc.).
Is there a good way to do this in Vim?