summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorCase Duckworth2021-08-09 23:14:39 -0500
committerCase Duckworth2021-08-09 23:14:39 -0500
commite550fd801076a146e85ad6c70876c59084f83914 (patch)
tree854591dac8dd885f8ca3e270520740612a55376e
parentAdd vertico extensions (diff)
downloademacs-e550fd801076a146e85ad6c70876c59084f83914.tar.gz
emacs-e550fd801076a146e85ad6c70876c59084f83914.zip
Add embark
Remove imenu-anywhere -- I didn't know I had it installed!
-rw-r--r--init.el18
1 files 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'."
1003 :branch "main")) 1003 :branch "main"))
1004 (require 'gemini-write)))) 1004 (require 'gemini-write))))
1005 1005
1006(setup (:straight embark)
1007 (:global "C-." embark-act
1008 "C-;" embark-dwim)
1009 (:option prefix-help-command #'embark-prefix-help-command
1010 (append display-buffer-alist)
1011 '("\\`\\*Embark Collect \\(Live\\|Completions\\)\\*"
1012 nil
1013 (window-parameters (mode-line-format . none))))
1014
1015 (with-eval-after-load 'embark
1016 (with-eval-after-load 'consult
1017 (setup (:straight embark-consult)
1018 (add-hook 'embark-collect-mode-hook
1019 #'consult-preview-at-point-mode)))))
1020
1006(setup (:straight epithet) 1021(setup (:straight epithet)
1007 (add-hook 'Info-selection-hook #'epithet-rename-buffer) 1022 (add-hook 'Info-selection-hook #'epithet-rename-buffer)
1008 (add-hook 'eww-after-render-hook #'epithet-rename-buffer) 1023 (add-hook 'eww-after-render-hook #'epithet-rename-buffer)
@@ -1079,9 +1094,6 @@ if ripgrep is installed, otherwise `consult-grep'."
1079 "<help> o" helpful-symbol 1094 "<help> o" helpful-symbol
1080 "C-c C-d" helpful-at-point)) 1095 "C-c C-d" helpful-at-point))
1081 1096
1082(setup (:straight imenu-anywhere)
1083 (:global "C-." imenu-anywhere))
1084
1085(setup (:straight iscroll) 1097(setup (:straight iscroll)
1086 (:hook-into text-mode)) 1098 (:hook-into text-mode))
1087 1099