summaryrefslogtreecommitdiff
path: root/emacs
diff options
context:
space:
mode:
authornoa2025-02-16 22:28:20 +0800
committernoa2025-02-16 22:28:20 +0800
commitce9ce935e9b3e4089b4c524be0a55642600d5fc5 (patch)
tree37be830b7f7ef7768d96781ba1fe4afad7f98b8e /emacs
parent304ba874bc2bf58a2fc24abec3d5cbd1f217a7ab (diff)
Update embark configuration
Diffstat (limited to 'emacs')
-rw-r--r--emacs/init.el10
1 files changed, 2 insertions, 8 deletions
diff --git a/emacs/init.el b/emacs/init.el
index 53eb0cf..0d23010 100644
--- a/emacs/init.el
+++ b/emacs/init.el
@@ -890,21 +890,15 @@ With prefix argument TIME, also add the current time."
;; Experiment with embark
(use-package embark
- ;; :ensure t
-
:bind
- (("C-<return>" . embark-act)
- ;; ("M-<return>" . embark-dwim)
- ("C-h B" . embark-bindings)) ;; alternative for `describe-bindings'
+ (("s-SPC" . embark-act)
+ ([remap describe-bindings] . embark-bindings))
:init
- ;; Optionally replace the key help with a completing-read interface
(setq prefix-help-command #'embark-prefix-help-command))
(use-package embark-consult
- :disabled t
:after (embark consult)
- :ensure t
:hook
(embark-collect-mode . consult-preview-at-point-mode))