tpope / vim-vinegar

vinegar.vim: Combine with netrw to create a delicious salad dressing
https://www.vim.org/scripts/script.php?script_id=5671
2.23k stars 87 forks source link

Feature Request: Group empty directories #126

Closed pheeria closed 3 years ago

pheeria commented 3 years ago

Hi 🖖

Drew Neil's wisdom regarding oil and vinegar only started to make sense after having used your plugin. Thanks for it!

What would be really nice if vinegar could add a feature flag to enable grouping/nesting empty directories, so that Java development (I know, probably it's better just to quit Java) becomes bearable, so that java/com/bubble/my/** is one Enter away and not four.

I tried using Nvim-Tree because of this feature, however using drawers feels weird now.

Similar implementation: Issue: kyazdani42/nvim-tree.lua#191 Feature PR: kyazdani42/nvim-tree.lua#247

tpope commented 3 years ago

This is a change that would need to happen on the netrw side of things. Vinegar is little more than a few bolted-on maps and some tweaks to netrw options. I like the idea, but can't speak to whether it would gain traction upstream.