aboutsummaryrefslogtreecommitdiff
path: root/Emacs
diff options
context:
space:
mode:
authorAryadev Chavali <aryadev@aryadevchavali.com>2024-10-01 16:25:19 +0100
committerAryadev Chavali <aryadev@aryadevchavali.com>2024-10-01 16:26:00 +0100
commit42850ce79ab3f9c3c4141ccf453d464914ebe9e5 (patch)
tree6f3419587add021f8528f3e2789391d6ad7ba219 /Emacs
parenta4411b989a01f3215743a045ac2e3376be16bdda (diff)
downloaddotfiles-42850ce79ab3f9c3c4141ccf453d464914ebe9e5.tar.gz
dotfiles-42850ce79ab3f9c3c4141ccf453d464914ebe9e5.tar.bz2
dotfiles-42850ce79ab3f9c3c4141ccf453d464914ebe9e5.zip
Added binding to find all TODOs in a project via rg.el
Diffstat (limited to 'Emacs')
-rw-r--r--Emacs/.config/emacs/config.org6
1 files changed, 6 insertions, 0 deletions
diff --git a/Emacs/.config/emacs/config.org b/Emacs/.config/emacs/config.org
index d966f54..a17876f 100644
--- a/Emacs/.config/emacs/config.org
+++ b/Emacs/.config/emacs/config.org
@@ -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