Saturday, March 6, 2010

Re: exiting, quitting

On 02/01/10 14:54, Dennis German wrote:
> Happy New Year to all. :w
>
> An earlier post mentioned having files ending up with
> :q in them.
>
> When I'm done editing, I always use :x and
> only use :q when I didn't make any changes
> ( of course :q! when I didn't mean to make any changes).
> Is this just a matter of personal preference and
> does everyone else use :w:q or something else??
>

I use :x (save and close window), :q (close window, no need to save),
:xa (save all and quit Vim), :qa (quit Vim, nothing to save), :q! (don't
save, close window; usually a [NoName] window), F3 (mapped to :wa|wv for
"save everything, leave Vim open"), etc., and yet I don't need to be as
picky between :x and :q because I have 'autowriteall' set (which is a
great help when I forget the |up at the end of an :argdo sequence).

Best regards,
Tony.
--
Flon's Law:
There is not now, and never will be, a language in which it is
the least bit difficult to write bad programs.

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments: