From 9c0dda5bfac04caeb900c10a4202c831e7d7111d Mon Sep 17 00:00:00 2001 From: tastytea Date: Sat, 2 May 2020 16:59:17 +0200 Subject: [PATCH] Emacs: Add volatile-highlights. --- init.d/basics/buffers.el | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/init.d/basics/buffers.el b/init.d/basics/buffers.el index f76598f..4f16e7a 100644 --- a/init.d/basics/buffers.el +++ b/init.d/basics/buffers.el @@ -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