From: "Yegappan Lakshmanan" <[EMAIL PROTECTED]>
Subject: Re: scripting of "listing" commands
Date: Sat, 30 Sep 2006 09:33:40 -0700

> Hi,
> 
> On 9/30/06, Meino Christian Cramer <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> >  I want to write a little function in vim script
> >  to put all settings into a file.
> >
> >  I want the output of
> >
> >    :map
> >    :version
> >    :set
> >    (and more of this kind, if I will find them all...)
> >
> >  to go into that file. From the list I learned that "redir" is the
> >  command of choice here.
> >
> >  But I want the function to doi its work non-interactively.
> >
> >  But :map (for example) wants <SPACE> to be pressed.
> >
> >  Hmmm...
> >
> >  Can I do something like
> >
> >          :<ignore_guy_in_front_of_the_monitor>map
> >
> >  (not thinking, that this really exists...) ???
> >
> 
> You can reset the 'more' option to disable the more prompt for the
> above commands:
> 
>      :set nomore
>      :map
>      :set
>      :version
>      :set more
> 
> For more information, read the following help:
> 
>     :help 'more'
>     :help more-prompt
> 
> - Yegappan
> 

Hi Yegappan,

 oh, yeah! That's helps a lot! :O)

 Keep hacking!
 mcc

Reply via email to