From 48680cd47a9f8d48f82983858bc2e0a2ab457a3d Mon Sep 17 00:00:00 2001 From: Grégoire Duchêne Date: Sun, 1 Nov 2026 16:52:18 +0000 Subject: emacs: Use ‘vertico-directory’ MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- emacs/init.el | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'emacs') diff --git a/emacs/init.el b/emacs/init.el index 71f5af4..b668fad 100644 --- a/emacs/init.el +++ b/emacs/init.el @@ -101,6 +101,13 @@ :custom (vertico-cycle t) :ensure t) +(use-package vertico-directory + :bind (:map vertico-map + ("DEL" . vertico-directory-delete-char) + ("M-DEL" . vertico-directory-delete-word) + ("RET" . vertico-directory-enter)) + :after vertico) + (setq completion-ignore-case t completion-in-region-function #'consult-completion-in-region) -- cgit v1.3.1