commit 99267ca2f516c0f5cc8e666f508c468ce10419b1
parent 12d1d986342458f966bc68b1ceb76681d786cd7e
Author: William Casarin <jb55@jb55.com>
Date: Sat, 7 Nov 2020 14:40:38 -0800
emacs: do full-page scrolls
Signed-off-by: William Casarin <jb55@jb55.com>
Diffstat:
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/dotfiles/.spacemacs b/dotfiles/.spacemacs
@@ -461,6 +461,10 @@ before packages are loaded."
(setq-default olivetti-body-width 80)
+ (load "view.el")
+ (define-key evil-motion-state-map (kbd "C-d") 'View-scroll-page-forward)
+ (define-key evil-motion-state-map (kbd "C-u") 'View-scroll-page-backward)
+
(spacemacs/set-leader-keys
"Ju" 'jb55/unhighlight-line
"J]" 'jb55/forward-page-recenter-top