Automatically create directories that don’t exist yet when writing a file.
This allows you to do:
and then just use
:up, etc.) to create the directory tree.
This is basically the same as the
plugin, although it was developed independently. This version has the option to
confirm directory creation and includes a bugfix for unicode directory names.
:help auto_mkdir2 for the full documentation.