From fd92b046a701caeb5cc4c729d580e20ecafb877c Mon Sep 17 00:00:00 2001 From: Jack Foltz Date: Sun, 10 Feb 2019 14:06:38 -0500 Subject: [PATCH] Add better smooth scrolling --- lain/.emacs.d/sandbox.org | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/lain/.emacs.d/sandbox.org b/lain/.emacs.d/sandbox.org index 56c4e98..bb8310f 100644 --- a/lain/.emacs.d/sandbox.org +++ b/lain/.emacs.d/sandbox.org @@ -313,14 +313,6 @@ and =#file#= lockfiles. Schlunk them all in =/tmp= instead. (setq auto-save-file-name-transforms `((".*" ,temporary-file-directory t))) #+END_SRC -*** Nicer Scrolling -Keep the cursor away from the edges when scrolling, -rather than hitting the bottom and scrolling a metric -boatload off the screen. -#+BEGIN_SRC emacs-lisp - (require 'smooth-scrolling) -#+END_SRC - *** Secure auth-source GPG encrypt stored auth tokens from [[https://www.gnu.org/software/emacs/manual/html_mono/auth.html][auth-source]] instead of storing them in plaintext. #+BEGIN_SRC emacs-lisp @@ -402,6 +394,13 @@ Shows matching parenthesis (setq show-paren-delay 0) (show-paren-mode) #+END_SRC +*** Scrolling +Scroll smooth-ish-ly instead of jarring jumps. +#+BEGIN_SRC emacs-lisp + (use-package smooth-scroll + :config + (smooth-scroll-mode t)) +#+END_SRC *** Dashboard Show a cool custom dashboard buffer on startup. #+BEGIN_SRC emacs-lisp