about summary refs log tree commit diff stats
path: root/.emacs.d/lisp
diff options
context:
space:
mode:
Diffstat (limited to '.emacs.d/lisp')
-rw-r--r--.emacs.d/lisp/init-modeline.el4
-rw-r--r--.emacs.d/lisp/init-ui.el11
2 files changed, 11 insertions, 4 deletions
diff --git a/.emacs.d/lisp/init-modeline.el b/.emacs.d/lisp/init-modeline.el
index 4ddc64f..f9f51c6 100644
--- a/.emacs.d/lisp/init-modeline.el
+++ b/.emacs.d/lisp/init-modeline.el
@@ -11,10 +11,6 @@
   :config
   (which-function-mode 1))
 
-(use-package hl-todo
-  :config
-  (global-hl-todo-mode 1))
-
 (use-package simple-modeline
   :hook (after-init . simple-modeline-mode)
   :custom
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)))