From e550fd801076a146e85ad6c70876c59084f83914 Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Mon, 9 Aug 2021 23:14:39 -0500 Subject: Add embark Remove imenu-anywhere -- I didn't know I had it installed! --- init.el | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/init.el b/init.el index a564ac7..63badc0 100644 --- a/init.el +++ b/init.el @@ -1003,6 +1003,21 @@ if ripgrep is installed, otherwise `consult-grep'." :branch "main")) (require 'gemini-write)))) +(setup (:straight embark) + (:global "C-." embark-act + "C-;" embark-dwim) + (:option prefix-help-command #'embark-prefix-help-command + (append display-buffer-alist) + '("\\`\\*Embark Collect \\(Live\\|Completions\\)\\*" + nil + (window-parameters (mode-line-format . none)))) + + (with-eval-after-load 'embark + (with-eval-after-load 'consult + (setup (:straight embark-consult) + (add-hook 'embark-collect-mode-hook + #'consult-preview-at-point-mode))))) + (setup (:straight epithet) (add-hook 'Info-selection-hook #'epithet-rename-buffer) (add-hook 'eww-after-render-hook #'epithet-rename-buffer) @@ -1079,9 +1094,6 @@ if ripgrep is installed, otherwise `consult-grep'." " o" helpful-symbol "C-c C-d" helpful-at-point)) -(setup (:straight imenu-anywhere) - (:global "C-." imenu-anywhere)) - (setup (:straight iscroll) (:hook-into text-mode)) -- cgit 1.4.1-21-gabe81