Emacs: Add volatile-highlights.

This commit is contained in:
tastytea 2020-05-02 16:59:17 +02:00
parent b11a9e709f
commit 9c0dda5bfa
1 changed files with 8 additions and 1 deletions

View File

@ -1,6 +1,6 @@
;;; buffers.el --- Default settings for buffers. -*- lexical-binding: t; -*-
;; Time-stamp: <2020-04-18T03:09:23+0200>
;; Time-stamp: <2020-05-02T16:59:05+0200>
;;; Commentary:
;; * Setup scratch buffer.
@ -103,5 +103,12 @@
(dimmer-configure-magit)
(dimmer-mode t)))
;; Visual feedback on some operations by highlighting region.
(use-package volatile-highlights
:config (progn
(set-face-background 'vhl/default-face
(face-foreground 'line-number))
(volatile-highlights-mode)))
(provide 'basics/buffers)
;;; buffers.el ends here