From 515f4b62789cae472996ebab4f720887144bb4f5 Mon Sep 17 00:00:00 2001 From: David Morgan Date: Wed, 5 Oct 2022 20:06:50 +0100 Subject: [PATCH] Add some commands to embark keymaps --- .emacs.d/lisp/init-minibuffer.el | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.emacs.d/lisp/init-minibuffer.el b/.emacs.d/lisp/init-minibuffer.el index 15047b0..5b5a736 100644 --- a/.emacs.d/lisp/init-minibuffer.el +++ b/.emacs.d/lisp/init-minibuffer.el @@ -424,7 +424,10 @@ DEFS is a plist associating completion categories to commands." ("C-h b" . embark-bindings) ("C-h B" . describe-bindings) (:map minibuffer-local-map - ("M-." . embark-preview))) + ("M-." . embark-preview)) + (:map embark-become-file+buffer-map + ("e" . consult-project-extra-find) + ("E" . project-switch-consult-project-extra-find))) :init (setq prefix-help-command #'embark-prefix-help-command) :config @@ -446,6 +449,10 @@ DEFS is a plist associating completion categories to commands." :demand t ; only necessary if you have the hook below ;; if you want to have consult previews as you move around an ;; auto-updating embark collect buffer + :bind + (:map embark-consult-async-search-map + ("^" . consult-ripgrep-parent) + ("R" . consult-ripgrep-unrestricted)) :hook (embark-collect-mode . consult-preview-at-point-mode))