![]() ![]() This is distributed with Emacs and allows scrolling by pixel lines. ![]() While Sublimity offers a set of different features, some people are using just the smooth-scrolling: ( require ' sublimity) ![]() "smooth-scroll.el" provides a minor mode “smooth-scroll-mode” which brings “smooth scrolling” and “in-place scrolling” feature to Emacs. (setq scroll-step 1) keyboard scroll one line at a time smooth-scroll.el (setq mouse-wheel-follow-mouse 't) scroll window under mouse (setq mouse-wheel-progressive-speed nil) don't accelerate scrolling (setq mouse-wheel-scroll-amount '(1 ((shift). mouse wheel & keyboard scroll one line at a time scroll one line at a time (less "jumpy" than defaults) Keep in mind that setting it too low will cause normal trackpad scrolling to be interpolated, which is probably not what you want. If that number does not work, decrease it by 5 at a time until it starts to. If you want Emacs to continue to “drift” the display after it stops, and you aren’t using the NS port on macOS, enable ‘pixel-scroll-precision-use-momentum’.Īpply the following settings if you also want scrolling with an ordinary mouse to be almost as smooth as scrolling with a touchpad, on systems other than X: (setq pixel-scroll-precision-large-scroll-height 40.0) You will need to build with XInput 2 support (which should be on by default, but may require libXi to be installed), unless you’re not using X. You can enable it using ‘pixel-scroll-precision-mode’. The next release of Emacs, Emacs 29, will come with built-in support for pixel-based scrolling. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |