ultra-scroll is amazing!!
This commit is contained in:
@ -26,6 +26,7 @@
|
||||
nix-mode
|
||||
python python-mode
|
||||
lsp-mode flycheck lsp-ui lsp-treemacs
|
||||
(epkgs.callPackage ./ultra-scroll.nix {})
|
||||
];
|
||||
})
|
||||
fira-code
|
||||
|
@ -114,12 +114,15 @@
|
||||
|
||||
;; Mouse & Smooth Scroll
|
||||
(setq scroll-step 1
|
||||
scroll-margin 1
|
||||
scroll-margin 0
|
||||
scroll-conservatively 101
|
||||
scroll-preserve-screen-position nil
|
||||
redisplay-skip-fontification-on-input t)
|
||||
(pixel-scroll-precision-mode 1)
|
||||
|
||||
(require 'ultra-scroll)
|
||||
(ultra-scroll-mode 1)
|
||||
|
||||
;; Line numbers
|
||||
(setq display-line-numbers-type t
|
||||
line-move-visual t)
|
||||
|
19
user/app/emacs/ultra-scroll.nix
Normal file
19
user/app/emacs/ultra-scroll.nix
Normal file
@ -0,0 +1,19 @@
|
||||
{ lib, fetchurl, trivialBuild }:
|
||||
|
||||
trivialBuild {
|
||||
pname = "ultra-scroll";
|
||||
version = "0.2.0";
|
||||
|
||||
src = fetchGit {
|
||||
url = "https://github.com/jdtsmith/ultra-scroll.git";
|
||||
rev = "64ad7be02e11317576498dabb15c92cf31e2c04c";
|
||||
ref = "main";
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "scroll Emacs like lightning";
|
||||
homepage = "https://github.com/jdtsmith/ultra-scroll";
|
||||
license = licenses.gpl3;
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user