Automatically call mkdir -p as necessary when writing files.
With Vundle
In vimrc: Plugin 'benizi/vim-automkdir'
Then: :PluginInstall
With NeoBundle
In vimrc: NeoBundle 'github:benizi/vim-automkdir'
Then: :NeobundleInstall
With vim-addon-manager
Run: :InstallAddons github:benizi/vim-automkdir
Open a file, even if its directory doesn't exist.
Save it.
g:automkdir_silent
If set = 1, the plugin will silent makedir!
default 0
Within vim
run:
:help automkdir