Skip to content

pbrisbin/vim-mkdir

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

Mkdir

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

-- Hot Rod

Installation

Add pbrisbin/vim-mkdir to your preferred vim plugin management plugin list.

I happen to use lua configuration and minpac, so my ~/.config/nvim/init.lua contains,

vim.cmd [[ packadd minpac ]]

vim.call('minpac#init')
vim.call('minpac#add', 'pbrisbin/vim-mkdir')

Usage

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

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

About

Automatically create any non-existent directories before writing the buffer.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •