Skip to content
Emacs package to ensure scrolling remains fast
Emacs Lisp
Branch: master
Clone or download
Latest commit 70a4d21 Sep 23, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore Working mode-line backtracking Aug 10, 2019
LICENSE.md Begin new repo Aug 10, 2019
README.md Fix doc in readme Sep 23, 2019
fast-scroll.el 0.0.5 Add dep for cl-lib usage Sep 23, 2019

README.md

fast-scroll

Ever run into scrolling issues that drive you crazy? (pauses and lag when trying to run through the buffer)

If you have a fair amount of packages and customizations (particularly if they are mode-line / font-lock heavy) then this is the package to help alleviate that a bit for you.

It works by temporarily disabling font-lock and switching to a barebones mode-line, until you stop scrolling (at which point it re-enables).

Usage

In your init file add something such as:

(add-to-list 'load-path "~/src/elisp/fast-scroll") ; Or wherever you cloned it
(require 'fast-scroll)
;; If you would like to turn on/off other modes, like flycheck, add
;; your own hooks.
(add-hook 'fast-scroll-start-hook (lambda () (flycheck-mode -1)))
(add-hook 'fast-scroll-end-hook (lambda () (flycheck-mode 1)))
(fast-scroll-config)
(fast-scroll-mode 1)

it will wrap some common scroll commands.

This works really well when you turn up repeat rate in Xorg as well:

xset r rate 250 60

Customization

You can adjust the 'throttle' rate (how fast subsequent scroll commands must come in bound) as such:

(setq fast-scroll-throttle 0.5)

Copyright

Matthew Carter m@ahungry.com

License

AGPLv3 or later

You can’t perform that action at this time.