>Once I'd established the habit of exiting vi/vim this way, it was easy
>to remember to use 'w' by itself to write the file without exiting, and
>to use 'q!' to quit while discarding any changes.
>For me, it's not about saving keystrokes, it's about building a
coherent
>mental model of the command set.

For little-used functionality where you might need to "stop and think",
agreed, but virtually *every* time you edit a file, you need to save it,
so...

Hell, most apps would use <alt><f><x></alt> to exit, prompting you to
save or not, or somesuch, and you would rarely have to "figure out" how
to save/exit.  If you know that ^S is a shortcut to save, etc., you can
easily adapt and use what's shorter, even if it's not part of an
orthogonal command-set.  Hence, 'ZZ'.

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to