Cloned file should not warn on save if file is currently open in other views.

Chris Hill 9 years ago updated by Gustav Paul 8 years ago 1
Currently when closing a cloned view of a file that is currently open and has changes, you will get a warning box. Since the file is still open, this is unnecessary.

I have a plugin that 'splits' the buffer into two groups. When I close the buffer, I just save the file so I don't get the warning. This is troublesome, but the best workaround at the moment.

+1 This is pretty annoying. I often clone a file, scroll around in it to reference some other function, then I want to drop the cloned view and continue. As it stands I need to hit save before closing the clone. And often I'm not at a point where I want to save.