From 0f508efd36408fb16625b117e5470975e749f76c Mon Sep 17 00:00:00 2001
From: noa@gaiwan.org
Date: Thu, 13 Jun 2024 21:12:45 +0000
Subject: Update consult, marginalia, and embark configuration
---
emacs/init.el | 110 +++++++++++++++++++++-------------------------------------
1 file changed, 39 insertions(+), 71 deletions(-)
(limited to 'emacs')
diff --git a/emacs/init.el b/emacs/init.el
index 7bcc64d..cd82267 100644
--- a/emacs/init.el
+++ b/emacs/init.el
@@ -167,80 +167,48 @@ and when JID is not in `jabber-activity-banned'."
:ensure t
:hook (text-mode . spell-fu-mode))
-;; consult-buffer replaces the buffer menu. as well as listing buffers, it lists bookmarks and recent files.
-(use-package consult
- :ensure t
- :bind (([remap switch-to-buffer] . consult-buffer) ;; also contains file history, etc
- ([remap yank-pop] . consult-yank-pop) ;; like normal yank-pop but with live preview
- ([remap goto-line] . consult-goto-line)))
+;;; Completing-read everywhere with consult
-(use-package embark
- :ensure t
- :bind (("C-