diff options
Diffstat (limited to 'common/.config/emacs')
-rw-r--r-- | common/.config/emacs/init.el.org | 14 |
1 files changed, 13 insertions, 1 deletions
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. |