diff options
author | David Morgan <djm_uk@protonmail.com> | 2022-11-30 16:15:29 +0000 |
---|---|---|
committer | David Morgan <djm_uk@protonmail.com> | 2022-11-30 16:15:29 +0000 |
commit | 20f89f0489a972548fc717d1c5920e4579eccb3a (patch) | |
tree | 2250f85e37ab9e8206c7f419f2b8e44b65adb70a | |
parent | 3dfd2528e2cc166a6dbd6d612c4af6476cca3862 (diff) | |
download | dotfiles-20f89f0489a972548fc717d1c5920e4579eccb3a.tar.gz |
Add consult-git-log-grep
-rw-r--r-- | .emacs.d/lisp/init-minibuffer.el | 8 |
1 files changed, 7 insertions, 1 deletions
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 |