diff options
| -rw-r--r-- | attic/elisp/misc.el | 9 | ||||
| -rw-r--r-- | init.el | 13 |
2 files changed, 11 insertions, 11 deletions
diff --git a/attic/elisp/misc.el b/attic/elisp/misc.el index 14cd56a..fbcf86b 100644 --- a/attic/elisp/misc.el +++ b/attic/elisp/misc.el @@ -59,6 +59,15 @@ :bind (:map racket-xp-mode-map (("C-c C-S-d" . racket-xp-documentation) ("C-c C-d" . racket-xp-describe)))) +;;; ultra-scroll +(jao-when-linux + (use-package ultra-scroll + :ensure t + :init + (setq scroll-conservatively 101 ; or whatever value you prefer, since v0.4 + scroll-margin 0) ; important: scroll-margin>0 not yet supported + :config + (ultra-scroll-mode 1))) ;;; smart scan (use-package smartscan :ensure t @@ -915,24 +915,15 @@ (if window-system (setq scroll-preserve-screen-position 'always scroll-conservatively most-positive-fixnum - scroll-margin 5 + scroll-margin 2 scroll-step 2 redisplay-skip-fontification-on-input t) (setq scroll-preserve-screen-position nil scroll-conservatively 0 - scroll-margin 5 + scroll-margin 2 scroll-step 1 redisplay-skip-fontification-on-input nil)) -(jao-when-linux - (use-package ultra-scroll - :ensure t - :init - (setq scroll-conservatively 101 ; or whatever value you prefer, since v0.4 - scroll-margin 0) ; important: scroll-margin>0 not yet supported - :config - (ultra-scroll-mode 1))) - ;;;; show diffs when running C-x s (add-to-list 'save-some-buffers-action-alist `("d" |
