oil.nvim
oil.nvim copied to clipboard
feature request: suppress "no longer available"
Did you check existing requests?
- [X] I have searched the existing issues
Describe the feature
When deleting a file that is open, the corresponding buffer is still loaded and you get a "no longer available" message. It would be nice to have an option that would automatically delete buffers that correspond to deleted files, and save+reopen buffers for the moved files.
Provide background
Moving/deleting open files is annoying atm.
Additional details
Got the idea from tpope/vim-eunuch
s :Remove
Yeah, this would be possible. The current behavior intentionally leaves the buffers in-place as sort of an extra protection from data loss, but we could potentially add another config option to remove those buffers. Will add to my backlog