In Emacs Prelude, I cannot figure out how to create a new file when a file exists that "matches" the name of the file.
In the example screen capture, I am trying to create a file called spawn.exs
in a directory that already contains a file called spawn_basic.exs
. When I use C-xC-f to create a new file, emacs is matching spawn.exs
to spawn_basic.exs
and hitting Enter results in opening spawn_basic.exs
instead of creating spawn.exs
.
I've tried some workarounds (i.e. using touch
to create the file) but I'm looking for a simpler solution that would require only one command. If there is not a command to do this, is there a way to disable the file name matching feature in Prelude? I like most everything else about Prelude compared to vanilla Emacs so I would rather not switch back.