summaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
Diffstat (limited to '.config')
-rw-r--r--.config/emacs/modules/mm-theme.el12
1 files changed, 11 insertions, 1 deletions
diff --git a/.config/emacs/modules/mm-theme.el b/.config/emacs/modules/mm-theme.el
index 0c4333f..cde214a 100644
--- a/.config/emacs/modules/mm-theme.el
+++ b/.config/emacs/modules/mm-theme.el
@@ -166,6 +166,16 @@ See also the `mm-theme-background-opacity' variable."
(("C-c h l" . pulsar-highlight-dwim)))
+;;; In-buffer highlighting
+
+(require 'hi-lock) ; For extra face definitions
+(use-package highlighter
+ :bind (("C-c h m" . #'highlighter-mark)
+ ("C-c h u" . #'highlighter-unmark)
+ ("C-c h U" . #'highlighter-unmark-buffer))
+ :commands (highlighter-mark highlighter-unmark highlighter-unmark-buffer))
+
+
;;; Add Padding
(use-package spacious-padding
@@ -233,4 +243,4 @@ See also the `mm-theme-background-opacity' variable."
(highlight-indent-guides-auto-even-face-perc 30)
(highlight-indent-guides-auto-odd-face-perc 0)))
-(provide 'mm-theme) \ No newline at end of file
+(provide 'mm-theme)