I have a bad habit of leaving a vim session running in one of many, many consoles I have open. Then at some later point, I'll want to edit that file and get the familiar complaint about it being edited somewhere else and have to tab through many consoles to find it. Is there some clever way to have vim exit automatically if there are no changes to the open files and it's been inactive for x minutes? I'm on linux and would be willing to use a different terminal program to get something like this working.
The most productive solution would be to not have multiple instances of
Edit: More to the point of your original request of closing a