1
0
Fork 0

fix: scroll half pages on C-v/M-v

Signed-off-by: Lucas Sta Maria <lucas@priime.dev>
This commit is contained in:
Lucas Sta Maria 2023-08-22 23:46:28 -04:00
parent db78db6ce2
commit dbbecd4e1e
No known key found for this signature in database
GPG key ID: F07FB16A826E3B47

View file

@ -4,6 +4,7 @@
;;; Code: ;;; Code:
(require 'nano-theme) (require 'nano-theme)
(require 'view)
@ -88,6 +89,8 @@
(global-set-key (kbd "C-x f f") #'set-fill-column) (global-set-key (kbd "C-x f f") #'set-fill-column)
(global-set-key (kbd "C-x f i") #'display-fill-column-indicator-mode) (global-set-key (kbd "C-x f i") #'display-fill-column-indicator-mode)
(global-set-key (kbd "C-x f a") #'auto-fill-mode) (global-set-key (kbd "C-x f a") #'auto-fill-mode)
(global-set-key (kbd "C-v") #'View-scroll-half-page-forward)
(global-set-key (kbd "M-v") #'View-scroll-half-page-backward)
;; Garbage Collection ;; Garbage Collection
(setq gc-cons-threshold 50000000) (setq gc-cons-threshold 50000000)