diff options
author | David Morgan <djm_uk@protonmail.com> | 2024-09-26 13:20:24 +0100 |
---|---|---|
committer | David Morgan <djm_uk@protonmail.com> | 2024-09-26 13:20:24 +0100 |
commit | 2500e1d03928c755a289a2533fbc9a1c3e9d7e07 (patch) | |
tree | b9180145422f0c7537becd8b0ac26b3f0eb078dc /.emacs.d/lisp/init-minibuffer.el | |
parent | 34d5dd1ff8a2f4d7ce4a3840e7be7926152e1e04 (diff) | |
download | dotfiles-2500e1d03928c755a289a2533fbc9a1c3e9d7e07.tar.gz |
Add embark-become-ripgrep-parent
Diffstat (limited to '.emacs.d/lisp/init-minibuffer.el')
-rw-r--r-- | .emacs.d/lisp/init-minibuffer.el | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/.emacs.d/lisp/init-minibuffer.el b/.emacs.d/lisp/init-minibuffer.el index 10ccfe9..80b4a91 100644 --- a/.emacs.d/lisp/init-minibuffer.el +++ b/.emacs.d/lisp/init-minibuffer.el @@ -483,13 +483,15 @@ See `+become' and the functions that call it (e.g. `+become-consult-line')." ("C-h B" . describe-bindings) (:map minibuffer-local-map ("M-." . embark-preview) - ("C-," . embark-become)) + ("C-," . embark-become) + ("C-^" . embark-become-ripgrep-parent)) (:map embark-become-file+buffer-map ("e" . consult-project-extra-find) ("E" . project-switch-consult-project-extra-find))) :custom (prefix-help-command 'embark-prefix-help-command) :config + (defalias 'embark-become-ripgrep-parent (kmacro "C-, ^")) (defun embark-preview () "Previews candidate in vertico buffer, unless it's a consult command" (interactive) |