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