summary refs log tree commit diff
path: root/emacs
diff options
context:
space:
mode:
Diffstat (limited to 'emacs')
-rw-r--r--emacs/init.el18
1 files changed, 17 insertions, 1 deletions
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-<return>" . embark-act)
+   ("M-<return>" . 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