Skip to content
Discussion options

You must be logged in to vote

Here's what I've come up with:

(use-package vertico
  :ensure t
  :custom
  (vertico-cycle t)
  :init
  (vertico-mode)
  :config
  (defun m/kill-current-buffer-embark (&optional arg)
    "Kill the current buffer candidate using Embark."
    (interactive "P")
    (let ((kill-buffer-query-functions (delq 'process-kill-buffer-query-function
                                             kill-buffer-query-functions))
          (embark-default-action-overrides '((buffer . kill-buffer)))
          ; These next two suppress confirmations from embark itself
          embark-pre-action-hooks
          embark-quit-after-action)
      (embark-dwim arg)))
  (defvar m/consult-buffer-map
    (let ((map (m…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@minad
Comment options

@mgalgs
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by mgalgs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants