From 30c6af1f313b73f96312b225d1cadf95f1c3b098 Mon Sep 17 00:00:00 2001 From: MitchMarq42 Date: Wed, 4 Jan 2023 13:21:28 -0900 Subject: [PATCH] Move scroll settings to packages file --- init.el | 4 ---- lisp/mitch-packages.el | 4 ++++ 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/init.el b/init.el index 0840892..163b7a3 100644 --- a/init.el +++ b/init.el @@ -70,10 +70,6 @@ ;; (defvar display-line-numbers-width-start t) ;; scroll step stuff -(setq scroll-margin 2 - scroll-conservatively 100 - scroll-up-aggressively 0.01 - scroll-down-aggressively 0.01) (global-visual-line-mode t) ;; UTF-8 supremacy (Snippet originally from https://github.com/doomemacs/doomemacs/blob/master/early-init.el, but it's not in there anymore) diff --git a/lisp/mitch-packages.el b/lisp/mitch-packages.el index 874b023..ada54cc 100644 --- a/lisp/mitch-packages.el +++ b/lisp/mitch-packages.el @@ -8,6 +8,10 @@ (use-package emacs :custom + (scroll-margin 2) + (scroll-conservatively 100) + (scroll-up-aggressively 0.01) + (scroll-down-aggressively 0.01) :init )