Search code examples
emacsemacs-helm

Create a new file with a similar name in Emacs with Helm


I always end up opening an eshell and executing find-file new-file-name, because helm always supplies me with candidates and a million options that don't look like the basic feature that I want: forcing the file to be called what I typed. For example, I want to great an org document called mto.org in a directory with another org file in it.

Helm completes rather than letting me make a new file :(

How can I force helm to create the file with the name I typed, so I can save 10 seconds by avoiding opening up eshell and adding a small, but (hopefully easily) avoidable disruption of my concentration?


Solution

  • You can press C-p and select the line

    [?] mto.org
    

    and then just press RET. It will (ask you to) create the file with the name you typed.