Re: scripting of "listing" commands

2006-09-30 Thread Hari Krishna Dara

On Sat, 30 Sep 2006 at 9:33am, Yegappan Lakshmanan wrote:

> 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  to be pressed.
> >
> >  Hmmm...
> >
> >  Can I do something like
> >
> >  :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

I also suggest taking a look at the bugreport.vim in the Vim
installation root.

-- 
Hari

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


Re: scripting of "listing" commands

2006-09-30 Thread Meino Christian Cramer
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  to be pressed.
> >
> >  Hmmm...
> >
> >  Can I do something like
> >
> >  :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


Re: scripting of "listing" commands

2006-09-30 Thread Yegappan Lakshmanan

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  to be pressed.

 Hmmm...

 Can I do something like

 :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


scripting of "listing" commands

2006-09-30 Thread Meino Christian Cramer
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  to be pressed.

 Hmmm...

 Can I do something like

 :map

 (not thinking, that this really exists...) ???

 Thanks for any
 
 help in advance!
 
 Keep hacking!
 
 mcc

 ;)