From 42850ce79ab3f9c3c4141ccf453d464914ebe9e5 Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Tue, 1 Oct 2024 16:25:19 +0100 Subject: Added binding to find all TODOs in a project via rg.el --- Emacs/.config/emacs/config.org | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Emacs') 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 -- cgit v1.2.3-13-gbd6f