better scroll
This commit is contained in:
committed by
GitHub
parent
39dc24edfe
commit
3c72294435
11
init.el
11
init.el
@@ -39,11 +39,13 @@
|
|||||||
mouse-wheel-scroll-amount '(1 ((shift) . 1))
|
mouse-wheel-scroll-amount '(1 ((shift) . 1))
|
||||||
mouse-wheel-progressive-speed nil
|
mouse-wheel-progressive-speed nil
|
||||||
mouse-wheel-follow-mouse 't
|
mouse-wheel-follow-mouse 't
|
||||||
scroll-margin 1
|
;; scroll-margin 1
|
||||||
scroll-conservatively 0
|
scroll-conservatively 10000
|
||||||
scroll-up-aggressively 0.01
|
;; scroll-up-aggressively 0.01
|
||||||
scroll-down-aggressively 0.01
|
;; scroll-down-aggressively 0.01
|
||||||
scroll-step 1
|
scroll-step 1
|
||||||
|
auto-save-interval 1000
|
||||||
|
auto-window-vscroll nil
|
||||||
backup-by-copying t
|
backup-by-copying t
|
||||||
backup-directory-alist '(("." . "~/.saves"))
|
backup-directory-alist '(("." . "~/.saves"))
|
||||||
undo-tree-history-directory-alist '(("." . "~/.undo-tree"))
|
undo-tree-history-directory-alist '(("." . "~/.undo-tree"))
|
||||||
@@ -231,6 +233,7 @@
|
|||||||
(point-max))))))
|
(point-max))))))
|
||||||
(concat " %" (number-to-string w) "d ")))))
|
(concat " %" (number-to-string w) "d ")))))
|
||||||
|
|
||||||
|
|
||||||
(defun linum-format-func (line)
|
(defun linum-format-func (line)
|
||||||
(let ((face
|
(let ((face
|
||||||
(if (= line linum-current-line)
|
(if (= line linum-current-line)
|
||||||
|
|||||||
Reference in New Issue
Block a user