How do I create a directory from within Emacs?

前端 未结 6 2101
夕颜
夕颜 2021-01-29 20:15

How exactly can I create a new directory using Emacs? What commands do I use? (If possible, please provide an example)

6条回答
  •  长发绾君心
    2021-01-29 20:53

    You can also run single shell commands using M-!

    You're basically sending a string to the command line so you don't get any nice auto-completion but it's useful if you know how to perform an action through the command line but don't know an Emacs equivalent way.

    M-! mkdir /path/to/new_dir
    

提交回复
热议问题