Question also asked here:
Consult’s `find-file’ behavior when typing “~” - Emacs Stack Exchange
I’m switching from counsel to consult.
counsel uses counsel-find-file. The behavior is that when I type ~, it will automatically change the prompt to the home directory:
;; Initially it shows this
Find File: ~/dir1/dir2/
;; typing '~' gives this
Find File: ~/
When I use consult it calls the built-in emacs find-file.
;; Initially it shows this:
Find File: ~/dir1/dir2/
;; typing '~' gives this:
Find File: ~/dir1/dir2/~
Is there a way to get find-file (and therefore consult) to behave like counsel when typing ~?