From 2b1a6a883a95f50272330c03a5d86d28957583ef Mon Sep 17 00:00:00 2001 From: noa Date: Mon, 17 Feb 2025 02:27:14 +0800 Subject: Use DEL instead of for compatibility with terminal emacs --- emacs/init.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'emacs/init.el') diff --git a/emacs/init.el b/emacs/init.el index dbee00c..7ccc8aa 100644 --- a/emacs/init.el +++ b/emacs/init.el @@ -454,8 +454,8 @@ The misspelled word is taken from OVERLAY. WORD is the corrected word." :after vertico :bind (:map vertico-map ("RET" . vertico-directory-enter) - ("" . vertico-directory-delete-char) - ("C-" . vertico-directory-delete-word)) + ("DEL" . vertico-directory-delete-char) + ("DEL" . vertico-directory-delete-word)) ;; If i type ~/ etc in a find-file prompt, get rid of the preceding directory names for a cleaner look. :hook (rfn-eshadow-update-overlay . vertico-directory-tidy)) -- cgit 1.4.1-2-gfad0