diff options
author | Yuchen Pei <id@ypei.org> | 2023-07-06 20:10:27 +1000 |
---|---|---|
committer | Yuchen Pei <id@ypei.org> | 2023-07-06 20:10:27 +1000 |
commit | 56119e39b25f77a91cd5bbcb8660ffee34178824 (patch) | |
tree | 3fae564e31e7aacef42df5136c4eb4b4af3925ed /emacs/.emacs.d/lisp/my | |
parent | 54ed4cd29be20c5ccd76d851b04a4bc292779452 (diff) |
minor changes
Diffstat (limited to 'emacs/.emacs.d/lisp/my')
-rw-r--r-- | emacs/.emacs.d/lisp/my/my-consult.el | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/emacs/.emacs.d/lisp/my/my-consult.el b/emacs/.emacs.d/lisp/my/my-consult.el index bf3e385..706dae5 100644 --- a/emacs/.emacs.d/lisp/my/my-consult.el +++ b/emacs/.emacs.d/lisp/my/my-consult.el @@ -31,5 +31,10 @@ (interactive) (consult-grep default-directory nil)) +(defun my-consult-git-grep-default () + "Like `consult-grep', but grepping the default directory." + (interactive) + (consult-git-grep default-directory nil)) + (provide 'my-consult) ;;; my-consult.el ends here |