How to insert/capture :ver information
- I would like to be able to capture either or both of the text provided
by the :ver and :about commands, for one reason to include details
of my configuration if I ever needed to e-amil someone about a problem.
(The alternative would be to use a sreenshot, which strikes me as
unfortunate giev that we are dealing with text based program).
One really good way to do this would be set an option that copied
all messages to stderr or a defined buffer.
I have tried searching for this and am quite surprised that no developer
seems to have felt the same lack. Of course the terms are somewhat
vague and insufficently specific, and perhaps the information is out there,
but I have yet to see it.
What I have been able to do, is grab the statusmsg using the :let
Which gives me
VIM - Vi IMproved 6.1 (2002 Mar 24, compiled 08/16/02 21:37:42)
[All the above typed anew, so please pardon typos]
and this is the first line of what I want, and far, far better than
I can't help thinking that I am going radically wrong somewhere, and
I would be grateful for a pointer.
Privileged/Confidential Information may be contained in this message.
If you are not the addressee indicated in this message (or responsible
for delivery of the message to such person), you may not copy or deliver
this message to anyone. In such case, you should destroy this message
and kindly notify the sender by reply email. Please advise immediately
if you or your employer do not consent to Internet email messages of this
kind. Opinions, conclusions and other information in this message that
do not relate to the official business of ewitness Limited shall be
understood as neither given nor endorsed by it.
eWitness Limited, Alpha House, Redvers Close, Lawnswood Business Park, Leeds, LS16 6QY
Telephone: 0113 2951112 Fax: 0113 2951114
- On Thu, 22 Aug 2002 at 3:42pm, bfowler@... wrote:
> I would like to be able to capture either or both of the text provided:help :redir
> by the :ver and :about commands, for one reason to include details
> of my configuration if I ever needed to e-amil someone about a problem.
>From: bfowler@... (ewitness - Ben Fowler)See if the command
>I would like to be able to capture either or both of the text provided
>by the :ver and :about commands, for one reason to include details
>of my configuration if I ever needed to e-amil someone about a problem.
gets you the information you want. It will create a file called
bugreport.txt that contains the output of :version, the current setting of
*all* your options, autocommands, maps, etc. May be overkill for what you
want, but maybe you can edit it down afterwards.
Join the world�s largest e-mail service with MSN Hotmail.