Automatically create any non-existent directories before writing the buffer.
Vim script
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
plugin
README.md

README.md

Mkdir

Maggie! Don't even ask. Just bring it. Come on.

-- Hot Rod

Installation

  1. Use pathogen
  2. Clone to ~/.vim/bundle/mkdir

Usage

:e this/does/not/exist/file.txt
:w

Smile when you are not presented with an error. In stead, notice that vim has automatically created the non-existent directory for you.