Added binding to find all TODOs in a project via rg.el

This commit is contained in:
2024-10-01 16:25:19 +01:00
parent a4411b989a
commit 42850ce79a

View File

@@ -1488,6 +1488,12 @@ thing faster and within Emacs lisp. ~rgrep~ is useful though.
:general
(search-leader
"r" #'rg)
(:keymaps 'project-prefix-map
"t" (proc (interactive)
(rg "TODO" "*"
(if (project-current)
(project-root (project-current))
default-directory))))
(nmmap
:keymaps 'rg-mode-map
"c" #'rg-recompile