In article <aa5b09f00806090925i4d5023d8jf3aa046107d9e...@mail.gmail.com>, Jarkko Hietaniemi <j...@iki.fi> wrote: >Then there was this another piece of hatefulness^Wsoftware where > >exit > >meant "save without saving changes" and > >quit > >meant "save and save the changes". Or maybe it was the other way round.
vi. x -- save, then quit. q -- quit, or whine bitterly about needing to save. v*m (at least the one that ships as vi on MacOS) is precisely as hateful as you describe. Well, actually it's MORE hateful, because when you type `:exit', it just exits without telling you that it's going to commit your changes. A real vi, when confronted with `:exit', will truculently inform you that it doesn't know what `exit' is, and will force you to leave the silent e off before it saves your changes. Vim is a pretty hateful beast, and `:exit' is just lagniappe. -david parsons