diff options
author | David Morgan <djm_uk@protonmail.com> | 2022-07-19 16:06:45 +0100 |
---|---|---|
committer | David Morgan <djm_uk@protonmail.com> | 2022-07-19 16:06:45 +0100 |
commit | 78889e6c1aab190477b034dee93811aa0aba6dfa (patch) | |
tree | fd57b0381c54b3939f9774d5cbe27bf8c91c3c96 /.emacs.d | |
parent | 679c36f7ec6417487d84fe13922a25e25df059ca (diff) | |
download | dotfiles-78889e6c1aab190477b034dee93811aa0aba6dfa.tar.gz |
Move hl-todo to correct place
Diffstat (limited to '.emacs.d')
-rw-r--r-- | .emacs.d/lisp/init-modeline.el | 4 | ||||
-rw-r--r-- | .emacs.d/lisp/init-ui.el | 11 |
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))) |