"Klaus Bosau" On: Saturday, January 31, 2004 8:54 PM ... [My previous solution for handling multiple blank lines at the beginning only handled up to two blank...
47345
Fred Ma
fma@...
Feb 1, 2004 5:52 am
Hi, When I use vim to search for a pattern with the "/", the cursor moves to the next occurance, and all matching text is highlighted. That's almost exactly...
47344
Hiroshi Iwatani
HGA03630@...
Feb 1, 2004 5:50 am
Thanks but ... Tony's ?solution? doesn't work. And Steve's function is not what I need. Then MY ?solution? also doesn't work: highlight EvilChars guibg=Magenta...
47343
Suresh Govindachar
sgovindachar@...
Feb 1, 2004 5:39 am
"Klaus Bosau" On: Saturday, January 31, 2004 8:54 PM ... The following modification handles multiple blank lines at the beginning: substitute(@a,...
47342
Suresh Govindachar
sgovindachar@...
Feb 1, 2004 5:14 am
"Klaus Bosau" On Saturday, January 31, 2004 8:54 PM ... Looks like my argument is going to take a beating, but in any case, what is the modification to handle...
47341
Suresh Govindachar
sgovindachar@...
Feb 1, 2004 4:56 am
"David Fishburn" On: Saturday, January 31, 2004 7:34 PM I think I finally understand the OP. The problem is to replace blank lines in a string variable using...
47340
Klaus Bosau
kbosau@...
Feb 1, 2004 4:54 am
... Would this solve your problem? substitute(@a, '^\n92;|\n\s*92;n\@=', '', 'g') Klaus...
47339
Suresh Govindachar
sgovindachar@...
Feb 1, 2004 4:26 am
"Suresh Govindachar" On: Saturday, January 31, 2004 7:54 PM ... Very soon after sending the above post, I realized my mistake. OP does indeed want to process...
47338
David Fishburn
fishburn@...
Feb 1, 2004 3:59 am
... Thanks for the response, but this will not work for me. I am using the substitute command over a variable, so I can't use the above command. Dave...
47337
Suresh Govindachar
sgovindachar@...
Feb 1, 2004 3:53 am
"David Fishburn" On: Saturday, January 31, 2004 7:34 PM [wants to remove blank lines in a file; attempts made were unnecessarily complex; title of post says...
47336
Steve Hall
digitect@...
Feb 1, 2004 3:35 am
From: Hiroshi Iwatani, Sun, 01 Feb 2004 11:15:46 +0900 ... Well, the positioning stuff is a bit hackish, but I use the function below. (I provided mappings to...
47335
David Fishburn
fishburn@...
Feb 1, 2004 3:34 am
Vim 6.2.180 WinXP I am trying to remove blanks lines at the beginning and the end of a string. So assuming you have this file: ******* Two Four ******* If you...
47334
Antoine J. Mechelynck
antoine.mechelynck@...
Feb 1, 2004 3:20 am
... and maybe set the NonText highlight to something more visible -- here is an ... guibg=#FF00FF guifg=#000060 see ... NB: The interesting text starting at...
47333
Hiroshi Iwatani
HGA03630@...
Feb 1, 2004 2:15 am
I'd like to highlight non-ASCII code in a text, of which code range is 0x00-0x1f and 0x80-0xff in orphanhood, with the most garish color. What do I have to...
47332
Gumnos (Tim Chase)
gumnos@...
Feb 1, 2004 1:34 am
... Well, you could append the "$" command to your execute statement, something like execute "e ".z." \|$" plus or minus some levels of escaping on that pipe....
47330
Mikolaj Machowski
mikmach@...
Jan 31, 2004 10:07 pm
ANN: TTCoach 1.0 After 15 months of development TTCoach reached version 1.0. TTCoach is featureful touch typing trainer written entirely in Vim scripting...
47329
scott2237
scott2237@...
Jan 31, 2004 9:46 pm
group-- i have a simple script that calls up my current action items log, as follows: " 31 Jan 2004 14:56 Sat " " bai.vim -- edit current ai (action...
47328
Suresh Govindachar
sgovindachar@...
Jan 31, 2004 8:07 pm
Here's a simpler example of globpath() not liking terminating back-slash: set rtp to various values and test with globpath. So doing this set ... followed by ...
47326
Klaus Bosau
kbosau@...
Jan 31, 2004 6:36 pm
... nn ,gq :s/\%20c92;s*/\r\t/<Cr>gq} Not grand though, just simple. HTH Klaus...
47325
Suresh Govindachar
sgovindachar@...
Jan 31, 2004 3:44 pm
... Here are the details: The following command (written in multiple lines but issued ... let foo=substitute($path, ";", ",", "g") | echo(foo) | let...
47324
David Coppit
vim@...
Jan 31, 2004 3:25 pm
This is a "can Vim do this" question... ... I like to break up such paragraphs and reformat them for my replies, like ... [first reply] ... [second reply] Is...
47323
Gumnos (Tim Chase)
gumnos@...
Jan 31, 2004 3:07 pm
I've been poking around the help (and among vim-tips/scripts), and can't find any obvious solution to this. I'm looking for a simple way to get the "gq"...
47322
Gumnos (Tim Chase)
gumnos@...
Jan 31, 2004 2:17 pm
... To add to Dan's correct solution here, there are certain characters which are treated as word boundaries, which you may not want to have happen. In those...
47321
Dan Sharp
dwsharp@...
Jan 31, 2004 1:36 pm
... You mean like \< and \> ? This substitution above could be changed to ... to generate the string *** *** speed *** *** Dan Sharp...
47320
Antoine J. Mechelynck
antoine.mechelynck@...
Jan 31, 2004 12:37 pm
... As had been mentioned in the previous discussion, with 'mousemodel39; set to "popup" you can even add a "Do Nothing" line to the popup menu (invoking <Nop>)...
47319
Hiroshi Iwatani
HGA03630@...
Jan 31, 2004 12:36 pm
In order to change word pee into ***, we have to do the same ... against, pee pee speed pee pee Although we can see what the regex engine does on the string ...
47318
Benji Fisher
benji@...
Jan 31, 2004 12:24 pm
... I do not know what is going on here. I cannot even guess why you are replacing ";" in $path with ",". Can you tell us what is the output of the following...
47317
Fred Ma
fma@...
Jan 31, 2004 11:54 am
... Subject: Re: cscope & gvim Date: Sat, 31 Jan 2004 06:45:06 -0500 From: Fred Ma <fma@...> Newsgroups: comp.unix.programmer ... Hans-Bernhard, It...
47316
Suresh Govindachar
sgovindachar@...
Jan 31, 2004 7:51 am
Hello, Some of the directories in my windows path end with \ and globpath() cannot find files in these directories. I found this out by executing the...
47315
Benji Fisher
benji@...
Jan 31, 2004 4:32 am
... First of all, start your function name with a capital letter. I am guessing that you put in the 1 to append after Line 1. If so, then this works for me: ...