embarkの設定2024

設定はこんな感じ。

(global-set-key (kbd "C-'") #'embark-act)
(global-set-key (kbd "C-\"") #'embark-dwim)
(setq embark-help-key "?")
(add-hook 'embark-collect-mode-hook #'consult-preview-at-point-mode) ;; embark-consultをインストールしたうえで
(add-to-list 'display-buffer-alist
             '("\\`\\*Embark Collect \\(Live\\|Completions\\)\\*"
               nil
               (window-parameters (mode-line-format . none))))