summary refs log tree commit diff
path: root/emacs/init.el
diff options
context:
space:
mode:
Diffstat (limited to 'emacs/init.el')
-rw-r--r--emacs/init.el4
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)