diff options
author | Aryadev Chavali <aryadev@aryadevchavali.com> | 2024-10-01 16:25:19 +0100 |
---|---|---|
committer | Aryadev Chavali <aryadev@aryadevchavali.com> | 2024-10-01 16:26:00 +0100 |
commit | 42850ce79ab3f9c3c4141ccf453d464914ebe9e5 (patch) | |
tree | 6f3419587add021f8528f3e2789391d6ad7ba219 /Emacs/.config/emacs | |
parent | a4411b989a01f3215743a045ac2e3376be16bdda (diff) | |
download | dotfiles-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/.config/emacs')
-rw-r--r-- | Emacs/.config/emacs/config.org | 6 |
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 |