On Mon 18 May 2009 at 13:45:52 PDT Tim Chase wrote: > >> Am I the only one who uses 'ZZ' to write/quit? >> >> 2 adjacent keys, >> >> <shift><Z><Z></shift> >> >> vs >> >> <shift><:></shift><x><return> >> or >> <shift><:></shift><w><q><return> >> >> which to me is a *lot* simpler/easier. > >Fewer keystrokes for this special case, yes. However, I find it >easier to build the command as I type/think it[1] (where I see you >chimed in on that thread too :)
When I build the command as I type/think it, I'm thinking write the file (w) and then quit (q). The alternate methods never seemed as intuitive to me. 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. --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
