Using Doom Emacs, when I invoke a command (such as diff
) that needs a filepath I get an ivy
prompt that names a default value:
But I am unable to clear the line or somehow tell ivy to take that default. Does ivy even know about it? Can I force ivy to output an empty string?
I browsed the ivy docs but to no avail
C-M-j
(ivy-immediate-done
), documented under(info "(ivy) Key bindings for single selection action then exit minibuffer")
.C-M-j
should exit with the default offered bydiff
. Ivy doesn't support completely clearing the prompt during file name completion.