about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorCase Duckworth2021-02-08 16:43:26 -0600
committerCase Duckworth2021-02-08 16:43:26 -0600
commita0709bf6fd29f14ee62b8c44dfe40a6fd3c36a08 (patch)
tree6611b110936c0d835809dc0c40ab8d0d5ebece8f
parentMOAR UNICODE (diff)
downloademacs-a0709bf6fd29f14ee62b8c44dfe40a6fd3c36a08.tar.gz
emacs-a0709bf6fd29f14ee62b8c44dfe40a6fd3c36a08.zip
Add goggles
-rw-r--r--config.org16
1 files changed, 16 insertions, 0 deletions
diff --git a/config.org b/config.org index eb040e7..b20f85f 100644 --- a/config.org +++ b/config.org
@@ -1430,6 +1430,22 @@ see also
1430 (define-key acdw/map (kbd "C-=") #'er/expand-region) 1430 (define-key acdw/map (kbd "C-=") #'er/expand-region)
1431#+end_src 1431#+end_src
1432 1432
1433*** Pulse the modified region with goggles
1434
1435#+begin_src emacs-lisp :noweb-ref packages
1436 (straight-use-package 'goggles)
1437#+end_src
1438
1439#+begin_src emacs-lisp :noweb-ref hooks
1440 (defun fix--goggles-mode ()
1441 "Fix goggles-mode to blackout the lighter."
1442 (goggles-mode)
1443 (blackout 'goggles-mode))
1444
1445 (add-hook 'text-mode-hook #'fix--goggles-mode)
1446 (add-hook 'prog-mode-hook #'fix--goggles-mode)
1447#+end_src
1448
1433** Undo :package: 1449** Undo :package:
1434 1450
1435*** Undo Fu 1451*** Undo Fu