commit c71af704f5dafb06016825625aebe4b3fe7b9c53
parent 8c55b6bcd0cd79fb7d01fb315ff9f0069b05dbf6
Author: Vincent Demeester <vincent@sbr.pm>
Date: Thu, 25 Jun 2020 06:50:33 +0200
tools/emacs: update embark a bit more
I wonder if I should set (completing-read-function
'embark-completing-read) or not ...
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
Diffstat:
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/tools/emacs/config/config-completion.el b/tools/emacs/config/config-completion.el
@@ -242,11 +242,19 @@ normally would when calling `yank' followed by `yank-pop'."
("C-v" . icomplete-vertical-toggle)))
;; -UseIcompleteVertical
+(use-package avy-embark-occur
+ :load-path "~/.config/emacs/lisp/embark/" ; in development
+ :bind
+ (:map minibuffer-local-completion-map
+ ("'" . avy-embark-occur-choose)
+ ("\"" . avy-embark-occur-act)))
+
(use-package embark
:load-path "~/.config/emacs/lisp/embark/" ; in development
:custom
(embark-occur-initial-view-alist '((t . grid)))
- (completing-read-function 'embark-completing-read)
+ (embark-occur-minibuffer-completion t)
+ ;; (completing-read-function 'embark-completing-read)
:config
(defun vde/embark-insert-exit ()
"Like `embark-insert' but exits current recursive minibuffer."