I saw from the repo awesome neovim1 a plugin that helps the user create the intermediate dir when they save a file.
I wondered why this feature even needs a whole plugin?
You can literally do this with a few lines of code.
If you find yourself adding a new file with :e but the folder isn’t there yet, this is for u