better scroll

This commit is contained in:
Iñaki Domínguez Ochoa
2018-09-21 14:04:34 +02:00
committed by GitHub
parent 39dc24edfe
commit 3c72294435

11
init.el
View File

@@ -39,11 +39,13 @@
mouse-wheel-scroll-amount '(1 ((shift) . 1))
mouse-wheel-progressive-speed nil
mouse-wheel-follow-mouse 't
scroll-margin 1
scroll-conservatively 0
scroll-up-aggressively 0.01
scroll-down-aggressively 0.01
;; scroll-margin 1
scroll-conservatively 10000
;; scroll-up-aggressively 0.01
;; scroll-down-aggressively 0.01
scroll-step 1
auto-save-interval 1000
auto-window-vscroll nil
backup-by-copying t
backup-directory-alist '(("." . "~/.saves"))
undo-tree-history-directory-alist '(("." . "~/.undo-tree"))
@@ -231,6 +233,7 @@
(point-max))))))
(concat " %" (number-to-string w) "d ")))))
(defun linum-format-func (line)
(let ((face
(if (= line linum-current-line)