Is there a plugin to create a folder and a file in it at the same time it terminal? At the moment this is what I need to do 

mkdir someFolder
touch someFolder/file.md


Is there a way to create both in one go (not using &amp;). I'm thinking 

mkTouch folder/file.md
If you are using bash, add the following function to your .bash_profile:

mkTouch() {
    mkdir -p "$(dirname "$1")" &amp;&amp; touch "$1"
}


Then, you can use mkTouch folder/file.md.