mirror of
https://github.com/tanrax/scroll-page-without-moving-point.el
synced 2026-01-07 05:43:37 +01:00
712 B
712 B
Move the scroll in Emacs without moving the position cursor.
scroll-page-without-moving-point.el
Install
You will need to have straight installed.
Add in your 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)
Configure
Set the keys you want to use. For example:
| Key | Description |
|---|---|
M-n |
Scroll down |
M-p |
Scroll up |
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)
