auto_mkdir : Allows you to save files into directories that do not exist yet.
| script karma |
Rating 21/9,
Downloaded by 1768 |
Comments, bugs, improvements
|
Vim wiki
|
| created by |
| Johannes Holzfuß |
| |
| script type |
| utility |
| |
| description |
This plugin automatically creates parent directories for the current file if they don't exist yet.
Example:
If you're currently in an empty directory, without the plugin, the command
:w foo/bar/baz.txt
will fail with with E212 ("Can't open file for writing.")
The plugin will automatically create the directories foo/ and foo/bar/ for you before Vim saves
the file, so you don't have to remember to do it manually.
Also available via git:
https://github.com/DataWraith/auto_mkdir |
| |
| install details |
| Save auto_mkdir.vim into the plugin/ directory of your runtime-path. |
| |
script versions (upload new version)
Click on the package to download.
ip used for rating: 216.73.216.216
|