From f5b54572d3a37d3d4d07e7c273e71c06068f9c96 Mon Sep 17 00:00:00 2001 From: jjanzen Date: Thu, 9 Jan 2025 21:33:14 -0600 Subject: system changes --- common/.config/emacs/init.el.org | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'common/.config') diff --git a/common/.config/emacs/init.el.org b/common/.config/emacs/init.el.org index c9d35e0..d558440 100644 --- a/common/.config/emacs/init.el.org +++ b/common/.config/emacs/init.el.org @@ -149,11 +149,23 @@ Install and configure =visual-fill-column= to make some file types display with visual-fill-column-center-text t)) #+end_src +Install and configure =ultra-scroll= for nicer scrolling (not yet in =melpa=, so the install with =package-vc-install=). +#+begin_src emacs-lisp + (package-vc-install '(ultra-scroll :vc-backend Git :url "https://github.com/jdtsmith/ultra-scroll")) + (use-package ultra-scroll + :init + (setq scroll-conservatively 101 ; important! + scroll-margin 0) + :config + (ultra-scroll-mode 1)) +#+end_src + + * Behaviour Make Emacs scroll one line at a time instead of big jumps. #+begin_src emacs-lisp - (setq scroll-conservatively most-positive-fixnum) + ;;(setq scroll-conservatively most-positive-fixnum) #+end_src Make Emacs delete trailing whitspace on save. This does not happen in =markdown-mode= which sometimes needs trailing whitespace. -- cgit v1.2.3