From cc5c3c40be21e6941ecd4039de46d881f4bfc7f0 Mon Sep 17 00:00:00 2001 From: noa Date: Mon, 11 Nov 2024 12:06:47 +0800 Subject: Experiment with embark --- emacs/init.el | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) (limited to 'emacs/init.el') diff --git a/emacs/init.el b/emacs/init.el index f2061de..0496a0e 100644 --- a/emacs/init.el +++ b/emacs/init.el @@ -832,8 +832,24 @@ The misspelled word is taken from OVERLAY. WORD is the corrected word." :ensure t :defer t) -;; (profiler-stop) +;; Experiment with embark +(use-package embark + :ensure t + + :bind + (("C-" . embark-act) + ("M-" . embark-dwim) + ("C-h B" . embark-bindings)) ;; alternative for `describe-bindings' + + :init + ;; Optionally replace the key help with a completing-read interface + (setq prefix-help-command #'embark-prefix-help-command)) +(use-package embark-consult + :disabled t + :ensure t + :hook + (embark-collect-mode . consult-preview-at-point-mode)) (use-package which-key :ensure t -- cgit 1.4.1-2-gfad0