This package provides scrolling commands and several customization options. The commands use
pulse to display a quickly fading guideline, or another chosen style, on the line at which new contents are visible after scrolling. Also, scrolling can be divided into steps which proceed at the desired speed. Together, these features help your eyes to keep their place in the buffer while scrolling.
Just install from MELPA, then bind the commands and customize the
scrollkeeper group as desired.
(use-package scrollkeeper :quelpa (scrollkeeper :fetcher github :repo "alphapapa/scrollkeeper.el") :general ([remap scroll-up-command] #'scrollkeeper-contents-up [remap scroll-down-command] #'scrollkeeper-contents-down))
Run one of these commands:
scrollkeeper-contents-down: Scroll the window up, or the contents down, depending on your perspective.
scrollkeeper-contents-up: Scroll the window down, or the contents up, depending on your perspective.
- You can customize settings in the
- Face spec in
- Inspired by Clemens Radermacher’s blog post, Scrollin’, scrollin’, scrollin’.
- Aided by studying Michael Heerdegen’s package, on-screen.
These packages provide some similar functionality but in very different ways.
- A more complex and comprehensive implementation that uses hooks to observe scrolling in other windows.
- Highlights the boundary line statically, using a minor mode rather than commands.
- Highlights the cursor rather than the boundary line between new and old content.
Bug reports, feature requests, suggestions — oh my!