On 04/06/12 17:09, Tony Mechelynck wrote:
On 06/04/12 12:15, Tim Chase wrote:
    :help :cq

though there are a few other notes if you do

    :helpgrep exit\_[- ]*\(code\|status\)

The seven results from this helpgrep command are all unrelated to the
exit code returned to the shell when exiting Vim itself.

In my slightly less-than-current Vim (7.2), I get 11 hits, of which one lands on :cq and one lands on patch 6.1.376 (anomalous exit codes for --version and --help). The rough answer I gather is that "unless you quit with :cq or something dire happens, Vim after 6.1.376 should quit with an exit status of 0".

-tim



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

Reply via email to