Skip to content

Commit

Permalink
Exclude magit-log-mode from yascroll.
Browse files Browse the repository at this point in the history
  • Loading branch information
philc committed Jan 3, 2023
1 parent 292283c commit 756635e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .emacs.d/init.el
Original file line number Diff line number Diff line change
Expand Up @@ -299,9 +299,11 @@
;; I use this to as an indicator to indicate where I am in the file.
;;
(global-yascroll-bar-mode 1)
;; By default, the scroll bar only shows when you're scrolling the buffer. Show it all the tiem.
;; By default, the scroll bar only shows when you're scrolling the buffer. Show it all the time.
;; Note: some report performance issues in some modes. https://github.com/emacsorphanage/yascroll/issues/38
(setq-default yascroll:delay-to-hide nil)
;; magit-log-mode is slow due to yascroll:delay-to-hide. Magit doesn't need scrollbars, so exclude it.
(setq yascroll:disabled-modes '(magit-log-mode))
(set-face-attribute 'yascroll:thumb-fringe nil :background "#666666")
(set-face-attribute 'yascroll:thumb-fringe nil :foreground "#666666")

Expand Down

0 comments on commit 756635e

Please sign in to comment.