diff options
author | noa | 2025-02-17 02:27:14 +0800 |
---|---|---|
committer | noa | 2025-02-17 02:27:14 +0800 |
commit | 2b1a6a883a95f50272330c03a5d86d28957583ef (patch) | |
tree | 907259edd5ca50c370ef899c7769a5f8fe835fa9 /emacs/init.el | |
parent | e92ed12cf723fac588e1d3f7c3d51930d9444745 (diff) |
Use DEL instead of <backspace> for compatibility with terminal emacs
Diffstat (limited to 'emacs/init.el')
-rw-r--r-- | emacs/init.el | 4 |
1 files changed, 2 insertions, 2 deletions
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) - ("<backspace>" . vertico-directory-delete-char) - ("C-<backspace>" . 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)) |