about summary refs log tree commit diff stats
path: root/.emacs.d/lisp/init-ui.el
diff options
context:
space:
mode:
authorDavid Morgan <djm_uk@protonmail.com>2022-07-19 16:06:45 +0100
committerDavid Morgan <djm_uk@protonmail.com>2022-07-19 16:06:45 +0100
commit78889e6c1aab190477b034dee93811aa0aba6dfa (patch)
treefd57b0381c54b3939f9774d5cbe27bf8c91c3c96 /.emacs.d/lisp/init-ui.el
parent679c36f7ec6417487d84fe13922a25e25df059ca (diff)
downloaddotfiles-78889e6c1aab190477b034dee93811aa0aba6dfa.tar.gz
Move hl-todo to correct place
Diffstat (limited to '.emacs.d/lisp/init-ui.el')
-rw-r--r--.emacs.d/lisp/init-ui.el11
1 files changed, 11 insertions, 0 deletions
diff --git a/.emacs.d/lisp/init-ui.el b/.emacs.d/lisp/init-ui.el
index a52446b..5ea2c29 100644
--- a/.emacs.d/lisp/init-ui.el
+++ b/.emacs.d/lisp/init-ui.el
@@ -101,6 +101,17 @@
   :diminish
   :config (which-key-mode +1))
 
+(use-package hl-todo
+  :bind
+  (:map hl-todo-mode-map
+        ("C-c c t p" . hl-todo-previous)
+        ("C-c c t n" . hl-todo-next)
+        ("C-c c t o" . hl-todo-occur)
+        ("C-c c t r" . hl-todo-rgrep)
+        ("C-c c t i" . hl-todo-insert))
+  :config
+  (global-hl-todo-mode 1))
+
 (use-package rainbow-delimiters
   :hook
   (text-mode . (lambda () (rainbow-delimiters-mode +1)))