The lexical-binding directive needs to end with '-*-' to be properly recognized by Emacs byte compiler. This fixes compilation warnings. Version bumped to 1.0.1
You will need to have straight installed.
Add in your init.el.
init.el
(use-package scroll-page-without-moving-point :straight (:host github :repo "tanrax/scroll-page-without-moving-point.el" :files ("scroll-page-without-moving-point.el")) :ensure t)
Set the keys you want to use. For example:
M-n
M-p
You can set it in your init.el:
(global-set-key "\M-n" 'scroll-page-without-moving-point-down) (global-set-key "\M-p" 'scroll-page-without-moving-point-up)