Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
view: change cursor line up/down off screen movements
Previously the cursor would be placed in the middle of the screen thus causing a distracting jump. Instead try to scroll the view port by only 1 line when the cursor is moved out of the visible area. The current implementation might be quite a bit slower than before, use page-wise scrolling to skip large regions. At some point we should optimize motions like 1000j. Close martanne#301
- Loading branch information