Pixel scrolling?
This commit is contained in:
parent
c4671abf11
commit
0dc5b2fd9a
1 changed files with 3 additions and 4 deletions
|
|
@ -640,21 +640,20 @@ The "global modeline" [[https://github.com/eki3z/mini-echo.el][package]], that d
|
||||||
* Pixel-scrolling
|
* Pixel-scrolling
|
||||||
** Native
|
** Native
|
||||||
This doesn-t work for me for now, very laggy and inconsistent
|
This doesn-t work for me for now, very laggy and inconsistent
|
||||||
#+begin_src emacs-lispp
|
#+begin_src emacs-lisp
|
||||||
;;; Scrolling.
|
;;; Scrolling.
|
||||||
;; Good speed and allow scrolling through large images (pixel-scroll).
|
;; Good speed and allow scrolling through large images (pixel-scroll).
|
||||||
;; Note: Scroll lags when point must be moved but increasing the number
|
;; Note: Scroll lags when point must be moved but increasing the number
|
||||||
;; of lines that point moves in pixel-scroll.el ruins large image
|
;; of lines that point moves in pixel-scroll.el ruins large image
|
||||||
;; scrolling. So unfortunately I think we'll just have to live with
|
;; scrolling. So unfortunately I think we'll just have to live with
|
||||||
;; this.
|
;; this.
|
||||||
(setq gc-cons-threshold #x40000000)
|
|
||||||
(setq fast-but-imprecise-scrolling t) ; No (less) lag while scrolling lots.
|
(setq fast-but-imprecise-scrolling t) ; No (less) lag while scrolling lots.
|
||||||
(setq jit-lock-defer-time 0) ; Just don't even fontify if we're still catching up on user input.
|
(pixel-scroll-precision-mode 1)
|
||||||
(pixel-scroll-mode)
|
|
||||||
(setq pixel-dead-time 0) ; Never go back to the old scrolling behaviour.
|
(setq pixel-dead-time 0) ; Never go back to the old scrolling behaviour.
|
||||||
(setq pixel-resolution-fine-flag t) ; Scroll by number of pixels instead of lines (t = frame-char-height pixels).
|
(setq pixel-resolution-fine-flag t) ; Scroll by number of pixels instead of lines (t = frame-char-height pixels).
|
||||||
(setq mouse-wheel-scroll-amount '(1)) ; Distance in pixel-resolution to scroll each mouse wheel event.
|
(setq mouse-wheel-scroll-amount '(1)) ; Distance in pixel-resolution to scroll each mouse wheel event.
|
||||||
(setq mouse-wheel-progressive-speed t) ; Progressive speed is too fast for me.
|
(setq mouse-wheel-progressive-speed t) ; Progressive speed is too fast for me.
|
||||||
|
(setq redisplay-skip-fortification-on-input t)
|
||||||
#+end_src
|
#+end_src
|
||||||
* PDF Tools
|
* PDF Tools
|
||||||
[[https://github.com/vedang/pdf-tools][pdf-tools]] is a replacement of DocView for viewing PDF files inside Emacs. It uses the poppler library, which also means that ‘pdf-tools’ can by used to modify PDFs. I use to disable ‘display-line-numbers-mode’ in ‘pdf-view-mode’ because line numbers crash it.
|
[[https://github.com/vedang/pdf-tools][pdf-tools]] is a replacement of DocView for viewing PDF files inside Emacs. It uses the poppler library, which also means that ‘pdf-tools’ can by used to modify PDFs. I use to disable ‘display-line-numbers-mode’ in ‘pdf-view-mode’ because line numbers crash it.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue