From a0709bf6fd29f14ee62b8c44dfe40a6fd3c36a08 Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Mon, 8 Feb 2021 16:43:26 -0600 Subject: Add goggles --- config.org | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/config.org b/config.org index eb040e7..b20f85f 100644 --- a/config.org +++ b/config.org @@ -1430,6 +1430,22 @@ see also (define-key acdw/map (kbd "C-=") #'er/expand-region) #+end_src +*** Pulse the modified region with goggles + +#+begin_src emacs-lisp :noweb-ref packages + (straight-use-package 'goggles) +#+end_src + +#+begin_src emacs-lisp :noweb-ref hooks + (defun fix--goggles-mode () + "Fix goggles-mode to blackout the lighter." + (goggles-mode) + (blackout 'goggles-mode)) + + (add-hook 'text-mode-hook #'fix--goggles-mode) + (add-hook 'prog-mode-hook #'fix--goggles-mode) +#+end_src + ** Undo :package: *** Undo Fu -- cgit 1.4.1-21-gabe81