Sunday, April 24, 2011

Re: Quitting Vim.

On 24/04/11 08:12, Jason Heyes wrote:
> Hi,
>
> How do I quit all windows?
>
> Thanks.
>
>

See :help window-exit for all variations. Here are the main ones:

Quit everything, but get an error message instead if there are unsaved
changes
:qa

Quit everything and discard all unsaved changes
:qa!

Quit everything and write any unsaved changes (you will still get an
error if there are 'modified' [NoName] buffers)
:xa

Quit everything, but get a dialog or prompt for anything that needs
saving, or if there were files on the command-line which haven't yet
been looked at
:confirm qa
(not on Vim versions compiled with -dialog)


Best regards,
Tony.
--
The best book on programming for the layman is "Alice in Wonderland";
but that's because it's the best book on anything for the layman.

--
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: