diff options
author | David Morgan <djm_uk@protonmail.com> | 2022-10-05 20:06:50 +0100 |
---|---|---|
committer | David Morgan <djm_uk@protonmail.com> | 2022-10-05 20:06:50 +0100 |
commit | 515f4b62789cae472996ebab4f720887144bb4f5 (patch) | |
tree | f22a7b864178b134efd84dac59734ecbb531ef1b /.emacs.d/lisp/init-minibuffer.el | |
parent | 4e6a993aa9d9fa0ef1af2a8f9d118e000d99b97d (diff) | |
download | dotfiles-515f4b62789cae472996ebab4f720887144bb4f5.tar.gz |
Add some commands to embark keymaps
Diffstat (limited to '.emacs.d/lisp/init-minibuffer.el')
-rw-r--r-- | .emacs.d/lisp/init-minibuffer.el | 9 |
1 files changed, 8 insertions, 1 deletions
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)) |