Skip to content

Really simple plugin to automatically create directories when saving files

Notifications You must be signed in to change notification settings

benizi/vim-automkdir

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vim-automkdir

Automatically call mkdir -p as necessary when writing files.

Installation

With Vundle

In vimrc: Plugin 'benizi/vim-automkdir'

Then: :PluginInstall

In vimrc: NeoBundle 'github:benizi/vim-automkdir'

Then: :NeobundleInstall

Run: :InstallAddons github:benizi/vim-automkdir

Usage

Open a file, even if its directory doesn't exist.

Save it.

Option

g:automkdir_silent

If set = 1, the plugin will silent makedir!

default 0

Full documentation

Within vim run:

:help automkdir

About

Really simple plugin to automatically create directories when saving files

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published