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: