When I open a file in nano, if I add a character then remove it, so the file is exactly the same as it was initially, upon close I'm prompted to "save changes" and I have to type N for no. Is there any way to change this? It would be nice to not have it prompt unless changes have actually been made.
Vim seems to follow the pattern I prefer, but maybe that's just my impression because Vim's separate command mode/edit modes prevent the tendency to add & then remove whitespace (ie. when considering whether to edit some code before moving on to another file)
diff
upon close, instead of just having a booleanmodified
flag that's set on once you've made changes. I thought of forking the git repo & making my own version, but making that a priority would be hardcore procrastination on my part lol. Anyway, thanks for your feedback