stevearc / oil.nvim

Neovim file explorer: edit your filesystem like a buffer
MIT License
3.84k stars 110 forks source link

feature request: show file in oil when editing a hidden file and show_hidden = false #380

Open kevintraver opened 4 months ago

kevintraver commented 4 months ago

Did you check existing requests?

Describe the feature

In Oil, with the default behavior (show_hidden = false) when editing a hidden file, and then opening oil, the hidden file does not show up in the oil buffer. It might make sense for the file to be visible in the Oil buffer.

Provide background

A hidden file is opened for editing. When Oil is then opened, the hidden file does not show up in the list. This behavior can be slightly confusing.

What is the significance of this feature?

nice to have

Additional details

Not sure if it makes more sense to show all hidden files in this case or just the hidden file(s) that is currently being edited (or hidden files in buffers).