Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/arp242/auto_mkdir2.vim
Automatically create directories
https://github.com/arp242/auto_mkdir2.vim
vim
Last synced: about 1 month ago
JSON representation
Automatically create directories
- Host: GitHub
- URL: https://github.com/arp242/auto_mkdir2.vim
- Owner: arp242
- License: mit
- Created: 2016-10-30T03:01:55.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2020-12-19T03:27:25.000Z (almost 4 years ago)
- Last Synced: 2024-05-02T03:14:30.055Z (6 months ago)
- Topics: vim
- Language: Vim script
- Size: 13.7 KB
- Stars: 10
- Watchers: 3
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.markdown
- License: LICENSE
Awesome Lists containing this project
README
[![This project is considered stable](https://img.shields.io/badge/Status-stable-green.svg)](https://arp242.net/status/stable)
Automatically create directories that don't exist yet when writing a file.
This allows you to do:
vim ~/a/dir/tree/that/doesnt/exist/new-file.txt
and then just use `:w` (or `ZZ`, or `:up`, etc.) to create the directory tree.
This is basically the same as the [`auto_mkdir`](http://www.vim.org/scripts/script.php?script_id=3352)
plugin, although it was developed independently. This version has the option to
confirm directory creation and includes a bugfix for unicode directory names.See `:help auto_mkdir2` for the full documentation.