Skip to content

Allows you to save files into directories that do not exist yet.

Notifications You must be signed in to change notification settings

vim-scripts/auto_mkdir

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

This is a mirror of http://www.vim.org/scripts/script.php?script_id=3352

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

About

Allows you to save files into directories that do not exist yet.

Resources

Stars

Watchers

Forks

Packages

No packages published