elihunter173/dirbuf.nvim

Feature Request: create multiple files at once

Opened this issue · 1 comments

First of all, thank you so much for this plugin. It's the best plugin for file navigation I've ever use (I was using dirvish for years and now your plugin is just so much better, omg I love it)

One thing I miss from Dirvish is creating multiple files at once, I think would be cool to have this feature as well.

Example 1:

index.js
ResponsiveImage.{js,test.js}

When :w this, would create the following files:

#00000001	index.js
#00000002	ResponsiveImage.js
#00000003	ResponsiveImage.test.js

Example 2:

ResponsiveImage/index.js
ResponsiveImage/ResponsiveImage.{js,test.js}

:w

#00000001	ResponsiveImage/index.js
#00000002	ResponsiveImage/ResponsiveImage.js
#00000003	ResponsiveImage/ResponsiveImage.test.js

This feature can allow us to not spend to much time typing the name of the files when we need to, for instance, create multiple files with the same name but with different extensions.

original post #26 (comment)

Crap, I made a typo in the issue number for d610602's message. It actually fixes #36