Re: ***SPAM*** bay vim in china

2006-06-06 Thread A.J.Mechelynck
[EMAIL PROTECTED] wrote: dear sir Thank you very much for your support. I am panasonic corporate information systens company (china).I want to know whether vim is free to use.If not i want to bay vim in china. please tell me where to bay and how much . Thanks Regards

Re: I just updated my Vim site

2006-06-06 Thread Hari Krishna Dara
On Mon, 5 Jun 2006 at 9:30pm, A.J.Mechelynck wrote: Hari Krishna Dara wrote: I read your previous emails about your windows laptop being out and that you prefer Linux etc., so I have a suggestion. Why don't you install VMWare virtual server on your Linux box and have windows run just for

Minor bug: Crash of the win32 gui version under network start

2006-06-06 Thread Anatoli Sakhnik
Hello, vim developers! The gui-enabled win32 version of Vim-7.0 crashes when I try to launch it on a network drive. Actually, I have Vim-7.0 installed on my Windows XP host, and try to execute it without copying on Windows 2000 guest. On the guest I mapped a network path where the Vim was placed

Vim on Windows XP x64 Diff

2006-06-06 Thread Ron Blaschke
Hi, I have attached the diff of my vim build directory against vim70src.zip. Note that I added a few manifests, e.g. to install.exe, on the command line, and aren't included in the diff. The diff only shows the changes I made to create a vim build on _my_ box. Your mileage may, and quite likely

security problem with ruby code completion in vim

2006-06-06 Thread Martin Povolný
Hallo, I have tested ruby code completion in vim and found that it is quite insecure. Lets have file 'a.rb': system('echo vim je pako /tmp/pako') class MyTest def test return 1 end end And then some file we edit e.g. 'b.rb': require 'a' t = MyTest.new t.t Now put cursor at the and

Re: I just updated my Vim site

2006-06-06 Thread A.J.Mechelynck
James Vega wrote: On Mon, Jun 05, 2006 at 11:10:21PM -0700, Hari Krishna Dara wrote: Isn't there a cross-compiler for producing cygwin executables from Linux? There is a cross-compiler for producing Windows native executables. It's mingw and that was what I used to produce binaries of

Re: matchparen bug?

2006-06-06 Thread Benji Fisher
On Mon, Jun 05, 2006 at 04:24:38PM +0300, Ilya wrote: Benji Fisher wrote: I can reproduce it. Perhaps we just need more explicit instructions on how to reproduce it. Using the text above, go to the g:loaded_autoit_completion line and (starting in Normal mode) type $iDownDown

Re: I just updated my Vim site

2006-06-06 Thread James Vega
On Tue, Jun 06, 2006 at 03:30:32PM +0200, A.J.Mechelynck wrote: James Vega wrote: On Mon, Jun 05, 2006 at 11:10:21PM -0700, Hari Krishna Dara wrote: Isn't there a cross-compiler for producing cygwin executables from Linux? There is a cross-compiler for producing Windows native

Re: matchparen bug?

2006-06-06 Thread Ilya
Benji Fisher wrote: Perhaps you have set 'matchpairs' so that it does not include [:]? matchpairs does include [:] - as by default. And brackets are highlighted when cursor is near one of them. Since you snipped the three sample lines, here is another example: long line

Re: security problem with ruby code completion in vim

2006-06-06 Thread Nikolai Weibull
On 6/6/06, Martin Povolný [EMAIL PROTECTED] wrote: Hallo, I have tested ruby code completion in vim and found that it is quite insecure. Lets have file 'a.rb': system('echo vim je pako /tmp/pako') class MyTest def test return 1 end end And then some file we edit e.g. 'b.rb':

Re: I just updated my Vim site

2006-06-06 Thread Steve Hall
From: A.J.Mechelynck, Jun 6, 2006 9:30 AM Until or unlessI think I'll take a back seat to the development of Vim executables for Windows. Tony, for what it's worth, I've improved the Cream build routines so that we can stay on top of patches more easily. Our previous delay was due to a

Re: I just updated my Vim site

2006-06-06 Thread A.J.Mechelynck
James Vega wrote: On Tue, Jun 06, 2006 at 03:30:32PM +0200, A.J.Mechelynck wrote: James Vega wrote: On Mon, Jun 05, 2006 at 11:10:21PM -0700, Hari Krishna Dara wrote: Isn't there a cross-compiler for producing cygwin executables from Linux? There is a

Re: I just updated my Vim site

2006-06-06 Thread A.J.Mechelynck
Steve Hall wrote: From: A.J.Mechelynck, Jun 6, 2006 9:30 AM Until or unlessI think I'll take a back seat to the development of Vim executables for Windows. Tony, for what it's worth, I've improved the Cream build routines so that we can stay on top of patches more easily. Our

Re: I just updated my Vim site

2006-06-06 Thread James Vega
On Tue, Jun 06, 2006 at 05:58:56PM +0200, A.J.Mechelynck wrote: James Vega wrote: On Tue, Jun 06, 2006 at 03:30:32PM +0200, A.J.Mechelynck wrote: James Vega wrote: On Mon, Jun 05, 2006 at 11:10:21PM -0700, Hari Krishna Dara wrote: Isn't there a cross-compiler for

Re: security problem with ruby code completion in vim

2006-06-06 Thread Martin Povolný
Nikolai Weibull wrote: On 6/6/06, Martin Povolný [EMAIL PROTECTED] wrote: Hallo, I have tested ruby code completion in vim and found that it is quite insecure. Lets have file 'a.rb': system('echo vim je pako /tmp/pako') class MyTest def test return 1 end end And then some file we

gvim crash using mouse with mousefocus set on opensuse 10.1

2006-06-06 Thread William S Fulton
The version of gvim shipped with Suse 10.1 crashes when using the mouse. I've filed a bug: https://bugzilla.novell.com/show_bug.cgi?id=182212, but here is the stack trace again (below). Any suggestions on fixing this would be welcome. William (gdb) continue Continuing. *** stack smashing

Re: matchparen bug?

2006-06-06 Thread Benji Fisher
On Tue, Jun 06, 2006 at 05:11:13PM +0300, Ilya wrote: Benji Fisher wrote: Perhaps you have set 'matchpairs' so that it does not include [:]? matchpairs does include [:] - as by default. And brackets are highlighted when cursor is near one of them. Since you snipped the three sample

cursor color change with mode in Linux console

2006-06-06 Thread John Magolske
A while back I posted a question asking how to have the cursor change color with mode in an xterm. The answer (thanks!) was :help termcap-cursor-shape and Vim 7. Now, wishing to have the same behavior in a Linux console, I try: if term =~ linux set t_ve+=^[[?17;206;99c let t_SI =

Re: how to fold lines not containing a pattern ?

2006-06-06 Thread Christian MICHON
excellent trick! (as usual) thanks a lot! On 6/5/06, Tim Chase [EMAIL PROTECTED] wrote: and how do I do if I want it to be case insensitive ? ie I want to detect Warning WARNING warning :help expr-=~? set foldmethod=expr foldexpr=getline(v:lnum)=~?'warning'?0:1 I also tried another

RE: MatchParen unreadable on dark backgrounds

2006-06-06 Thread Zdenek Sekera
From: Benjamin Esham [mailto:[EMAIL PROTECTED] Sent: 03 June 2006 05:41 To: Yakov Lerner Cc: vim@vim.org Subject: Re: MatchParen unreadable on dark backgrounds Yakov Lerner wrote: Georg Dahn wrote: This depends on the color scheme you are using. If the maintainer does not update

Re: MatchParen unreadable on dark backgrounds

2006-06-06 Thread Pádraig Brady
Georg Dahn wrote: I use dark backgrounds (and therefore a light coloured foreground colour). As a consequence the new MatchParen highlight that is enabled by default in vim 7 is unreadable/annoying. I need to put the following in my ~/.vimrc to fix it: highlight MatchParen ctermbg=blue

Re: MatchParen unreadable on dark backgrounds

2006-06-06 Thread A.J.Mechelynck
Pádraig Brady wrote: Georg Dahn wrote: I use dark backgrounds (and therefore a light coloured foreground colour). As a consequence the new MatchParen highlight that is enabled by default in vim 7 is unreadable/annoying. I need to put the following in my ~/.vimrc to fix it: highlight

Re: MatchParen unreadable on dark backgrounds

2006-06-06 Thread Benjamin Esham
Zdenek Sekera wrote: Benjamin Esham wrote: Biogoo (http://vim.sourceforge.net/scripts/script.php?script_id=432) defines these groups. It's quite a nice combination of colors, if I do say so myself ;-) /shameless plug Too bad that the screen shot in the above URL has invalid link problem.

Re: Copying everything (not the complete line, only the matching pattern) which matches a pattern

2006-06-06 Thread Benji Fisher
Did you try using the Pippo() function from foo.vim , as I suggested in my previous post? http://www.vim.org/script.php?script_id=72 HTH --Benji Fisher On Thu, Jun 01, 2006 at 10:13:22AM +0530, SHANKAR R-R66203 wrote: This is assuming that the each line

Re: E108: No such variable: b:current_syntax (I'm an idiot)

2006-06-06 Thread Benji Fisher
On Mon, Jun 05, 2006 at 08:31:41PM -0400, Thomas Schumm wrote: On Monday 05 June 2006 08:01 pm, you wrote: So the question is: what have you been doing with $VIMRUNTIME/syntax/css.vim ? Nothing, unless my distro has been doing it behind my back. The only modifications I've made to the

RE: How do I get list of directory + how do I show them

2006-06-06 Thread Mueller Stefan
Hello, thank you for you help. But to be more precious I want to have a list of that directory like mylist[0] = file1.cpp,v mylist[1] = file2.cpp,v ... I want to feed that list to my own vim function, which displays the log, check out by,... Best Regards Stefan -Original Message-

Re: How do I get list of directory + how do I show them

2006-06-06 Thread Bob Hiestand
On 6/6/06, Mueller Stefan [EMAIL PROTECTED] wrote: Hello, thank you for you help. But to be more precious I want to have a list of that directory like mylist[0] = file1.cpp,v mylist[1] = file2.cpp,v ... I want to feed that list to my own vim function, which displays the log, check out by,...

Problem with NetRW scp:// and nonstandard ssh port

2006-06-06 Thread Martin Hauser
Hello List, let's say i've got a ssh daemon and want to connect it using scp:// in vim, i just get an error message that the hostname does not exist if i do the following: :e scp://[EMAIL PROTECTED]:/home/mh/foobar.txt Any hints for me where syntax could be wrong? using vim 7.0 by the way.

RE: Script dbext.vim no longer working with Vim 7.x?

2006-06-06 Thread David Fishburn
-Original Message- From: Matthias Pitzl [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 06, 2006 8:37 AM To: vim@vim.org Subject: Script dbext.vim no longer working with Vim 7.x? Hello! I just installed the dbext.vim script as it's features really sound nice to me.

Re: laststatus=2 anomaly (was: I sometimes have to double strike when using gvim7 over Hummingbird Exceed)

2006-06-06 Thread Mun Johl
Hi Eric, et al., Please see my comments below. On Fri, Jun 02, 2006 at 04:50 PM PDT, Eric Arnold wrote: EA On 6/2/06, Mun Johl [EMAIL PROTECTED] wrote: ... Text Deleted ... EA Sorry. I meant EA EA :call feedkeys( /3\CR, t) This executes fine. I can substitute any text for the 3 and it

Re: syntax match question

2006-06-06 Thread Tim Chase
I would like to match all options that start with a hyphen like: -one -two So all those would be a match from the - to the end of the word. Looks like a simple /\-\w\+\/ It makes some presumptions where your description falls silent. What constitutes a word for you? The vim

Re: syntax match question

2006-06-06 Thread Robert Hicks
Tim Chase wrote: I would like to match all options that start with a hyphen like: -one -two So all those would be a match from the - to the end of the word. Looks like a simple /\-\w\+\/ It makes some presumptions where your description falls silent. What constitutes a word for you?

Re: syntax match question

2006-06-06 Thread Robert Hicks
Robert Hicks wrote: Tim Chase wrote: I would like to match all options that start with a hyphen like: -one -two So all those would be a match from the - to the end of the word. Looks like a simple /\-\w\+\/ It makes some presumptions where your description falls silent. What

Re: regex question

2006-06-06 Thread Charles E Campbell Jr
Eric Arnold wrote: Real close. Turns out I think I want: /\\%[directory]\{1,}\/ I suspect you want /\d\%[irectory]\/ Regards, Chip Campbell

Changing a long list of entries with corresponding index

2006-06-06 Thread Salman Mohsin
Hi, I have a long list of city names (more than 2,000 of them) in a file, each name on a separate line. I'd like to modify each line so that: ABERFOYLE . . ZURICH Becomes: cities[0] = ABERFOYLE . . cities[2039] = ZURICH Is there a way I could issue a command (or some commands) and achieve the

Re: syntax match question

2006-06-06 Thread Charles E Campbell Jr
Robert Hicks wrote: A word can be anything really, so it would be from - to the end. So something like: syn match MyVarOption \-\w\+\ Unless - is part of normal keyword characters (see :he 'iskeyword'), the \- isn't going to help. Probably you want syn match MyVarOption

Re: Changing a long list of entries with corresponding index

2006-06-06 Thread Gary Johnson
On 2006-06-06, Salman Mohsin [EMAIL PROTECTED] wrote: Hi, I have a long list of city names (more than 2,000 of them) in a file, each name on a separate line. I'd like to modify each line so that: ABERFOYLE . . ZURICH Becomes: cities[0] = ABERFOYLE . . cities[2039] = ZURICH

Re: Changing a long list of entries with corresponding index

2006-06-06 Thread Gerald Lai
On Tue, 6 Jun 2006, Gary Johnson wrote: On 2006-06-06, Salman Mohsin [EMAIL PROTECTED] wrote: Hi, I have a long list of city names (more than 2,000 of them) in a file, each name on a separate line. I'd like to modify each line so that: ABERFOYLE . . ZURICH Becomes: cities[0] = ABERFOYLE .

Re: Changing a long list of entries with corresponding index

2006-06-06 Thread Charles E Campbell Jr
Salman Mohsin wrote: I have a long list of city names (more than 2,000 of them) in a file, each name on a separate line. I'd like to modify each line so that: ABERFOYLE . . ZURICH Becomes: cities[0] = ABERFOYLE . . cities[2039] = ZURICH Is there a way I could issue a command (or some

Re: Problem with NetRW scp:// and nonstandard ssh port

2006-06-06 Thread Yakov Lerner
On 6/6/06, Martin Hauser [EMAIL PROTECTED] wrote: Hello List, let's say i've got a ssh daemon and want to connect it using scp:// in vim, i just get an error message that the hostname does not exist if i do the following: :e scp://[EMAIL PROTECTED]:/home/mh/foobar.txt The right syntax

Re: Changing a long list of entries with corresponding index

2006-06-06 Thread Gerald Lai
On Tue, 6 Jun 2006, Charles E Campbell Jr wrote: Salman Mohsin wrote: I have a long list of city names (more than 2,000 of them) in a file, each name on a separate line. I'd like to modify each line so that: ABERFOYLE . . ZURICH Becomes: cities[0] = ABERFOYLE . . cities[2039] = ZURICH Is

RE: laststatus=2 anomaly (was: I sometimes have to double strike when using gvim7 over Hummingbird Exceed)

2006-06-06 Thread Gene Kwiecinski
After taking a couple of helpful hints from Eric, and doing a bunch of experiments, I have isolated some odd behavior to 'laststatus'. As a reminder, this issue only shows up when I compile vim7 using GTK-1; it does not occur when I compile with Motif or GTK-2. My system is a Sun workstation

Re: :ha printouts - fontsize

2006-06-06 Thread cga2000
On Mon, Jun 05, 2006 at 03:11:08AM EDT, A.J.Mechelynck wrote: cga2000 wrote: [..] Well, here I am a comparatively new user of SuSE Linux, and I found it remarkably easy to compile Vim 7 on it. If you decide you want to try your hand at it, I was contemplating switching to gentoo at some

Re: syntax match question

2006-06-06 Thread Peter Hodge
Hi, So you want something like: highlight all var options using this match syntax match allVarOptions \%(\s\|^\)\zs-\w\+ highlight the keywords within allVarOptions: note: because '-' is an iskeyword character, you have to use a match instead. syntax match allVarOptionKeywords