diff options
-rw-r--r-- | init.el | 18 |
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 | ||