From 20f89f0489a972548fc717d1c5920e4579eccb3a Mon Sep 17 00:00:00 2001 From: David Morgan Date: Wed, 30 Nov 2022 16:15:29 +0000 Subject: Add consult-git-log-grep --- .emacs.d/lisp/init-minibuffer.el | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.emacs.d/lisp/init-minibuffer.el b/.emacs.d/lisp/init-minibuffer.el index bf24c2d..6873c25 100644 --- a/.emacs.d/lisp/init-minibuffer.el +++ b/.emacs.d/lisp/init-minibuffer.el @@ -435,7 +435,13 @@ DEFS is a plist associating completion categories to commands." ("C-x C-d" . consult-dir) ("C-x C-j" . consult-dir-jump-file))) -(use-package consult-ls-git) +(use-package consult-git-log-grep + :bind ("C-c g l" . consult-git-log-grep) + :custom (consult-git-log-grep-open-function #'magit-show-commit)) + +(use-package consult-ls-git + :bind ("C-c g f" . consult-ls-git)) + (use-package consult-project-extra) (use-package marginalia -- cgit 1.4.1-2-gfad0