fix: scroll half pages on C-v/M-v
Signed-off-by: Lucas Sta Maria <lucas@priime.dev>
This commit is contained in:
parent
db78db6ce2
commit
dbbecd4e1e
1 changed files with 3 additions and 0 deletions
|
@ -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)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue