Emacs: Reduce scroll lag significantly.

This commit is contained in:
tastytea 2020-01-28 10:25:01 +01:00
parent 8863024422
commit c1802d3f99

View File

@ -1,6 +1,6 @@
;;; input.el --- Configure behaviour of input devices. -*- lexical-binding: t; -*-
;; Time-stamp: <2020-01-27T09:21:13+0100>
;; Time-stamp: <2020-01-28T10:24:44+0100>
;;; Commentary:
;; * Setup mouse & keyboard behaviour.
@ -15,6 +15,8 @@
(mouse-wheel-scroll-amount '(1 ((shift) . 1))) ; Scroll 1 line at a time.
;; Paste text where the cursor is, not where the mouse is.
(mouse-yank-at-point t)
;; Reduce scroll lag significantly. <https://emacs.stackexchange.com/a/28746>
(auto-window-vscroll nil)
:config
(delete-selection-mode t) ; Delete selection when you start to write.