smooth-scroll.hx
Smooth scrolling Helix plugin
- Stars: 67
- Last commit:
- Created:
Smooth scrolling Helix plugin
smooth-scroll.hx is a plugin for Helix which provides built-in function replacements which scroll smoothly between positions. The full list of functions can be seen in the installation section.
Follow the instructions here to install Helix on the plugin branch.
Then, install the plugin with:
forge pkg install --git https://github.com/thomasschafer/smooth-scroll.hx.git
Once installed, you can add the following to init.scm in your Helix config directory:
(require "smooth-scroll/smooth-scroll.scm")
Then, you can update your config.toml to make use of the smooth scrolling functions:
[keys.normal]
C-d = ":half-page-down-smooth"
C-u = ":half-page-up-smooth"
pageup = ":page-up-smooth"
pagedown = ":page-down-smooth"