diff options
author | noa@gaiwan.org | 2024-06-18 20:28:18 +0000 |
---|---|---|
committer | noa@gaiwan.org | 2024-06-18 20:28:18 +0000 |
commit | 29f5addf40f68c2b9dc14ee5a71bfd060c8179d7 (patch) | |
tree | 85c98ae8d852a9bdde39eb666e02f79f1ebdc630 | |
parent | e30e54bdbfb54796e1cb9703098f90fe16d28991 (diff) |
Deal with shadowed file names more nicely
-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 9f05288..7c3317b 100644 --- a/emacs/init.el +++ b/emacs/init.el @@ -52,8 +52,8 @@ (bind-key (kbd "<backspace>") #'vertico-directory-delete-char 'vertico-map) (bind-key (kbd "<C-<backspace>") #'vertico-directory-delete-word 'vertico-map) -;; Tidy shadowed file names -;; :hook (rfn-eshadow-update-overlay . vertico-directory-tidy) +;; If i type ~/ etc in a find-file prompt, get rid of the preceding directory names for a cleaner look. +(add-hook 'rfn-eshadow-update-overlay-hook #'vertico-directory-tidy) (setopt read-buffer-completion-ignore-case t) (setopt read-file-name-completion-ignore-case t) |