Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ensure cursor is in view on window change
If two windows are editing the same document, one may delete enough of the document so that the other window is pointing at a blank page (past the document end). In this change we ensure that the cursor is within view whenever we switch to a new window (for example with `<C-w>w`).
- Loading branch information