How to create new file from dired mode?

前端 未结 6 1260
眼角桃花
眼角桃花 2021-02-06 20:52

I want to create a new file in dired mode. Is there \"create new file\" command in dired mode ? For example, When I type \"c\" in dired mode, it creates \"untitled.txt\". It\'s

6条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2021-02-06 21:04

    If you want to enter the filename, then I think this is a duplicate of:

    How do I create an empty file in emacs?

    If you don't want to enter the filename, you could still use some of those answers, and easily adapt others by hard-coding the name rather than prompting for it interactively.

提交回复
热议问题