From ab6e5c2a575f8890d21f55ff09078bbe8e12bdf8 Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Mon, 22 Mar 2021 06:27:48 +0000 Subject: (Emacs)+hl-todo package configuration Very useful package that makes TODOs pop a bit more. --- Emacs/.config/emacs/config.org | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'Emacs') diff --git a/Emacs/.config/emacs/config.org b/Emacs/.config/emacs/config.org index 072a081..1b6df57 100644 --- a/Emacs/.config/emacs/config.org +++ b/Emacs/.config/emacs/config.org @@ -1675,6 +1675,21 @@ Colourising the compilation buffer so ansi color codes get computed. (ansi-color-apply-on-region (point-min) (point-max)))) (add-hook 'compilation-filter-hook #'+compile/colourise)) #+end_src +*** Highlight todo items +TODO items are highlighted in org buffers, but not necessarily in +every buffer. This minor mode highlights all TODO like items via a +list of strings to match. It also configures faces to use when +highlighting. + +#+begin_src emacs-lisp +(use-package hl-todo + :after prog-mode + :hook (prog-mode-hook . hl-todo-mode) + :init + (setq hl-todo-keyword-faces + '(("TODO" . "#E50000") + ("WAIT" . "#00CC00")))) +#+end_src ** PDF *** PDF Preamble PDFs are a great format for (somewhat) immutable text and reports with -- cgit v1.2.3-13-gbd6f