sponsor Vim development Vim logo Vim Book Ad

easydir.vim : An easy way to create directories and files at the same time!

 script karma  Rating 134/37, Downloaded by 1613  Comments, bugs, improvements  Vim wiki

created by
Doug Yun
 
script type
utility
 
description
Using *easydir* is quite easy. Functionality remains the same for editing and
saving files, but now you can prepend nonexistent directories to the desired
file name to create them both.

EXAMPLES

:e new_directory/new_file.txt        Edits a file called |new_file.txt|
                                                      which is nested inside |new_directory|

:sp new_directory/new_file2.txt    Split a new window assign the file
                                                      as |new_file2.txt| and
                                                      create the directory |new_directory|

:n new_dir/another_dir/file.txt       You can even nest multiple directories!

That's it! So *easy!*
 
install details
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
vim-easydir-1.2.zip 1.2 2020-02-18 7.0 Doug Yun * Generalize check for protocols in path - https://github.com/duggiefresh/vim-easydir/pull/10
vim-easydir-1.1.zip 1.1 2017-08-26 7.0 Doug Yun Version 1.1
=========

* Supports netrw's network protocols by @rr-
* README update by @knowledgejunkie
*Add /doc/tags to .gitignore by @lencioni
vim-easydir-1.0.1.zip 1.0.1 2013-12-31 7.0 Doug Yun Minor corrections and bug fix for README and docs.

* Use HTTPS for Pathogen installation within README. - Brett Chalupa
* Remove duplicate tags from docs - Mark Wu
easydir.vim 1.0.0 2013-12-09 7.0 Doug Yun Initial upload
ip used for rating: 18.188.108.54

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
Vim at Github