From 0259b4b5ab76b2d593adf877fd7b5394d93b69de Mon Sep 17 00:00:00 2001 From: Levi Neely <141506390+lneely@users.noreply.github.com> Date: Tue, 10 Sep 2024 16:01:07 +0200 Subject: [PATCH] embark --- emacs/init.el | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/emacs/init.el b/emacs/init.el index de2adfb..bd962d7 100644 --- a/emacs/init.el +++ b/emacs/init.el @@ -825,6 +825,24 @@ (use-package emmet-mode :ensure t :defer t) +(use-package embark + :ensure t + :bind + (("C-." . embark-act) ;; pick some comfortable binding + ("C-;" . embark-dwim) ;; good alternative: M-. + ("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) + + :config + ;; Hide the mode line of the Embark live/completions buffers + (add-to-list 'display-buffer-alist + '("\\`\\*Embark Collect \\(Live\\|Completions\\)\\*" + nil + (window-parameters (mode-line-format . none))))) + (provide 'init) ;; Local Variables: