Re: sh indent script

2006-07-29 Thread Edward L. Fox
On 7/20/06, Edward L. Fox <[EMAIL PROTECTED]> wrote: Hi VIMmers, The default sh indent script in VIM7 indent the following sample file this way: 8< #!/bin/sh SYSTEM=`uname -s` case $SYSTEM in Linux) echo "My system is Linux" echo "Do Linux

Re: AsNeeded?

2006-07-29 Thread Bill McCarthy
Chip, On Sat 29-Jul-06 12:38pm -0600, you wrote: > Quoting Bill McCarthy <[EMAIL PROTECTED]>: >> However, since I cannot seem to get AsNeeded and taglist to >> play nice together, I cannot use your plugin. > Hmm, well that's curious; I seem to have no difficulty with the two. I tried again wit

Re: Keeping point in middle of screen

2006-07-29 Thread Thor Andreassen
On Sat, Jul 29, 2006 at 09:33:16AM +0100, C Rose wrote: > Is there a vim setting or script that keeps the point in the middle > of the screen (i.e. when scrolling, all of the text moves, rather > than the insertion point, unless at the very top or bottom of a > buffer). This would allow one t

Re: Can't find terminal library when compiling Vim7.0

2006-07-29 Thread Tom Purl
On Sun, Jul 30, 2006 at 10:53:01AM +1200, Johnathan wrote: > no terminal library found > checking for tgetent()... configure: error: NOT FOUND! > You need to install a terminal library; for example ncurses. > Or specify the name of the library with --with-tlib. > ===

Re: perl-support.vim author?

2006-07-29 Thread Robert Hicks
Yakov Lerner wrote: On 7/30/06, Robert Hicks <[EMAIL PROTECTED]> wrote: Apparently Earthlink is now considered a spamming service? Earthlink ? You're using gmail account, aren't you ? I post to newsgroups with my gmail account so spam reapers don't get my home account. I do answer from gmail

Can't find terminal library when compiling Vim7.0

2006-07-29 Thread Johnathan
Hi there I'm trying to compile vim 7.0 on a Kubuntu 6.06 computer. With the intention of running vim on Konsole and commandline only (no GUI or X11 needed - for now at least). I got the following message when invoking "./configure --disable-gtk-check --disable-kde-check --disable-motif-ch

Re: perl-support.vim author?

2006-07-29 Thread Yakov Lerner
On 7/30/06, Robert Hicks <[EMAIL PROTECTED]> wrote: Apparently Earthlink is now considered a spamming service? Earthlink ? You're using gmail account, aren't you ? === This is what I get back === This is the Postfix program at host dvzis.fh-swf.de. I'm sorry to have to inform you that your

Re: perl-support.vim author?

2006-07-29 Thread Robert Hicks
Apparently Earthlink is now considered a spamming service? === This is what I get back === This is the Postfix program at host dvzis.fh-swf.de. I'm sorry to have to inform you that your message could not be delivered to one or more recipients. It's attached below. For further assistance, pleas

Re: perl-support.vim author?

2006-07-29 Thread Robert Hicks
Fritz Mehner wrote: Robert Hicks schrieb: Does anyone know what happened to the author of the perl-support.vim plugin? I have emailed him using the info on his site and in the package but it bounces. Has he "dropped" the project? No I have NOT dropped the project. Great! Emails to [EMA

Re: Using open filename within vimrc function

2006-07-29 Thread David Woodfall
On (22:52 29/07/06), A.J.Mechelynck <[EMAIL PROTECTED]> put forth the proposition: > David Woodfall wrote: > >I am trying to make a function to generate a tags file from whichever file > >is open in vim. > > > >function! ShowFunctions() > > !ctags --uc-kinds=f $file > > !sed -i '/TAG/d' tags >

Re: Using open filename within vimrc function

2006-07-29 Thread A.J.Mechelynck
David Woodfall wrote: I am trying to make a function to generate a tags file from whichever file is open in vim. function! ShowFunctions() !ctags --uc-kinds=f $file !sed -i '/TAG/d' tags 30vsplit tags set nowrap setlocal ts=99 map 0yew:tag " endfunction If I replace $file wit

Using open filename within vimrc function

2006-07-29 Thread David Woodfall
I am trying to make a function to generate a tags file from whichever file is open in vim. function! ShowFunctions() !ctags --uc-kinds=f $file !sed -i '/TAG/d' tags 30vsplit tags set nowrap setlocal ts=99 map 0yew:tag " endfunction If I replace $file with *.uc it works but I on

Re: AsNeeded?

2006-07-29 Thread drchip
Quoting Bill McCarthy <[EMAIL PROTECTED]>: > Chip, > > On Thu 27-Jul-06 8:38am -0600, you wrote: > > > AsNeeded uses the FuncUndefined autocommand to > > transparently load functions. > > Commands and maps, unfortunately, are not blessed with such an autocommand. > > Hence AsNeeded provides: > > >

Re: perl-support.vim author?

2006-07-29 Thread Fritz Mehner
Robert Hicks schrieb: Does anyone know what happened to the author of the perl-support.vim plugin? I have emailed him using the info on his site and in the package but it bounces. Has he "dropped" the project? No I have NOT dropped the project. Emails to [EMAIL PROTECTED] will reach me. (

perl-support.vim author?

2006-07-29 Thread Robert Hicks
Does anyone know what happened to the author of the perl-support.vim plugin? I have emailed him using the info on his site and in the package but it bounces. Has he "dropped" the project? :Robert

Re: Clickable error messages

2006-07-29 Thread Robert Hicks
A.J.Mechelynck wrote: Robert Hicks wrote: Marc Weber wrote: :Robert See :h quickfix ;) Brief: :compiler perl :set makeprg=perl :make test.pl) If you want to add options to perl use set makeprg=perl\ --option\ blah (escape whitespaces) The quickfix cycle might remove some output.. dependin

Word file

2006-07-29 Thread antoine.mechelynck
This is a multi-part message in MIME format. Please see the file.

Re: Keeping point in middle of screen

2006-07-29 Thread A.J.Mechelynck
C Rose wrote: Is there a vim setting or script that keeps the point in the middle of the screen (i.e. when scrolling, all of the text moves, rather than the insertion point, unless at the very top or bottom of a buffer). This would allow one to avoid having to look up and down the screen for t

Re: Keeping point in middle of screen

2006-07-29 Thread C Rose
Is there a vim setting or script that keeps the point in the middle of the screen (i.e. when scrolling, all of the text moves, rather than the insertion point, unless at the very top or bottom of a buffer). This would allow one to avoid having to look up and down the screen for the point, o

Re: check if guioption is set

2006-07-29 Thread Yakov Lerner
On 7/29/06, Kim Schulz <[EMAIL PROTECTED]> wrote: hi is there a way to check if a guioption is set. normally I would use somthing like: if guioptions == m :set guioptions-=m:else:set guioptions+=m:endif but since guioptions is a sequence of options and not just a single letter, this wont work.

Re: check if guioption is set

2006-07-29 Thread A.J.Mechelynck
Kim Schulz wrote: hi is there a way to check if a guioption is set. normally I would use somthing like: if guioptions == m :set guioptions-=m:else:set guioptions+=m:endif but since guioptions is a sequence of options and not just a single letter, this wont work. So how do I check if it is set?

Re: Keeping point in middle of screen

2006-07-29 Thread A.J.Mechelynck
C Rose wrote: Hi Is there a vim setting or script that keeps the point in the middle of the screen (i.e. when scrolling, all of the text moves, rather than the insertion point, unless at the very top or bottom of a buffer). This would allow one to avoid having to look up and down the screen f

check if guioption is set

2006-07-29 Thread Kim Schulz
hi is there a way to check if a guioption is set. normally I would use somthing like: if guioptions == m :set guioptions-=m:else:set guioptions+=m:endif but since guioptions is a sequence of options and not just a single letter, this wont work. So how do I check if it is set? I was looking for so

Keeping point in middle of screen

2006-07-29 Thread C Rose
Hi Is there a vim setting or script that keeps the point in the middle of the screen (i.e. when scrolling, all of the text moves, rather than the insertion point, unless at the very top or bottom of a buffer). This would allow one to avoid having to look up and down the screen for the poi