Add scroll settings

This commit is contained in:
Case Duckworth 2021-02-22 15:52:47 -06:00
parent d1563eb1a7
commit 3a2516a9d1
1 changed files with 10 additions and 0 deletions

View File

@ -955,6 +955,8 @@ generally use it as a leader for entering applications.
** Scrolling
*** Fast scrolling
According to [[https://github.com/mpereira/.emacs.d#make-cursor-movement-an-order-of-magnitude-faster][Murilo Pereira]], these settings will make Emacs scrolling
"an order of magnitude faster."
@ -963,6 +965,14 @@ According to [[https://github.com/mpereira/.emacs.d#make-cursor-movement-an-orde
fast-but-imprecise-scrolling t)
#+end_src
*** Scroll margins
#+begin_src emacs-lisp :noweb-ref settings
(setq-default scroll-margin 0
scroll-conservatively 101 ; if greater than 100 ...
scroll-preserve-screen-position 1)
#+end_src
** Enable commands
I think the /disabled command/ feature of Emacs is stupid, especially