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.
It’s hard to capture in a GIF, but here is a video demonstration (view on Imgur).
Just install from MELPA, then bind the commands and customize the scrollkeeper
group as desired.
quelpa-use-package makes it easy to install, and general makes it easy to configure key bindings:
(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-up
,scrollkeeper-contents-down
: Scroll the window up, or the contents down, depending on your perspective.scrollkeeper-down
,scrollkeeper-contents-up
: Scroll the window down, or the contents up, depending on your perspective.
- You can customize settings in the
scrollkeeper
group.
Fixed
- Face spec in
scrollkeeper--thinline
function.
Initial release.
- 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.
- on-screen
- A more complex and comprehensive implementation that uses hooks to observe scrolling in other windows.
- highlight-context-line
- Highlights the boundary line statically, using a minor mode rather than commands.
- beacon
- Highlights the cursor rather than the boundary line between new and old content.
Bug reports, feature requests, suggestions — oh my!
GPLv3