stevearc / oil.nvim

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

feat: normal_uneditable configuration #258

Closed benlubas closed 9 months ago

benlubas commented 9 months ago

closes #257

This is the easiest way that I could make this change. It's not all that pretty, but it works.

I'm open to ideas about this config variable name. Originally I called it force_uneditable but you can edit the value in insert mode still, so I changed it to normal_uneditable. That name is not great, but I can't think of a better one at the moment.

stevearc commented 9 months ago

Went about doing this in a slightly different way in 71b1ef5edfcee7c58fe611fdd79bfafcb9fb0531