Martin Krischik wrote:

Hello,

I often use little vim scripts using "vim -E". Now like all executable vim will return a result code after execution.

And it is often "false" which I don't want. Does anybody know how to influence the return value from "vim -E"?

:q  :wq  :q!   -- these are normal quits (:wq also writes)

:cq  -- quits, but Vim will return an error code

HTH,
Chip Campbell

Reply via email to