Skip to content

Commit a89b20e

Browse files
committed
feat(ultra-scroll): Use ultra-scroll to have smoothness during scrolling
1 parent a7a5ec5 commit a89b20e

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

init.el

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,7 @@ This function should only modify configuration layer settings."
172172
(copilot :location (recipe :fetcher github :repo "zerolfx/copilot.el" :files ("*.el" "dist")))
173173
(lean4-mode :location (recipe :fetcher github :repo "leanprover/lean4-mode" :files ("*.el" "data")))
174174
(term-cursor :location (recipe :fetcher github :repo "h0d/term-cursor.el" ))
175+
(ultra-scroll :location (recipe :fetcher github :repo "jdtsmith/ultra-scroll"))
175176
arduino-mode
176177
beacon
177178
cheat-sh

spacemacs.org

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -369,6 +369,15 @@ the formatting in a dominant parent directory of the assumed input file path.
369369
'("k" "copy branch name" magit-add-current-branch-name-to-kill-ring)))
370370
#+END_SRC
371371
** Miscellaneous
372+
*** ultra-scroll
373+
#+BEGIN_SRC emacs-lisp :tangle user-config.el
374+
(use-package ultra-scroll
375+
:init
376+
(setq scroll-conservatively 101 ; important!
377+
scroll-margin 0)
378+
:config
379+
(ultra-scroll-mode 1))
380+
#+END_SRC
372381
*** No title bar
373382
#+BEGIN_SRC emacs-lisp :tangle user-config.el
374383
(add-to-list 'default-frame-alist '(undecorated-round . t))

0 commit comments

Comments
 (0)