No, it's not completely useless. It's exactly what you need to do. If you use s:patHilite, rename it to say PatHilite, what you'd do is call call...
53953
David Nebauer
davidnebauer@...
Oct 3, 2004 5:37 am
You've used an interesting technique. Unfortunately, I can get it to work only in 'normal39; mode -- if I type ":normal >" at the cmdline the 'mapped39; text...
53954
Dave Silvia
dsilvia@...
Oct 3, 2004 5:53 am
I guess I don't see what you're trying to do. What does the '>' do? Just place text? If I do ... It successfully maps '>' and outputs '>' Can you give...
53955
Dave Silvia
dsilvia@...
Oct 3, 2004 6:08 am
I did the mappings you have below in a .vim file and sourced it. I then executed the mappings in that file in insert mode. I've attached the file. What am I...
53956
Dave Silvia
dsilvia@...
Oct 3, 2004 7:09 am
That's good to hear!) It proves neither one of us is crazy!;) thx, Dave S. *** -----Original Message----- *** From: David Nebauer...
53957
Yakov Lerner
qlerner@...
Oct 3, 2004 9:47 am
This is the feature request that I wanted to post long ago. Maybe now is ripe time to post this because vim7, with many new additions, is in the works. Here is...
53958
Dave Silvia
dsilvia@...
Oct 3, 2004 10:22 am
I understand an sympathize completely! Things can get to a state where they are best served up with a generous portion of Ragu(R). I don't, however,...
53959
Mikolaj Machowski
mikmach@...
Oct 3, 2004 10:28 am
... Look one item lower in docs. Get number of line and highlight line with \%<number>l It should be faster and NULL problems with escaping special characters....
53960
Dave Silvia
dsilvia@...
Oct 3, 2004 11:19 am
The problem is still the same: highlighting changes with the search and you're constrained to 'Search39; highlight coloring. The OP is looking to highlight the...
53961
Dave Silvia
dsilvia@...
Oct 3, 2004 11:41 am
My apologies! I see what you mean. Yes, this works as wanted. Best description I found was ... However, you still have to be mindful of special characters ...
53962
Bram Moolenaar
Bram@...
Oct 3, 2004 11:59 am
... This is actually an idea that has been in the back of my head for a while. I tried explaining in the Vim tutorial how to find out where your vimrc file is...
53963
Yakov Lerner
qlerner@...
Oct 3, 2004 4:50 pm
... I'm sure it's possible to set the variables to a recommended location. If the "advanced" user prefers some nonstandard, other than compiled-in...
53964
Johnny Blaze
pyromancer@...
Oct 3, 2004 6:00 pm
I just noticed that match Ignore /^M/ applies the correct highlighting, while syntax match Ignore /^M/ does not. But with syn-match, the synID is correct......
53965
V.Chandrasekaran
chandrasekaran_v@...
Oct 3, 2004 6:26 pm
This works great. Thanks. However, if the line number changes due to edits above this highlighted line, the highlighted line changes too. But this is ok. ...
53966
Mattias Flodin
flodin@...
Oct 3, 2004 7:00 pm
On Wed, 22 Sep 2004 23:09:23 +0200, Antoine J. Mechelynck <antoine.mechelynck@...> wrote: ... If this is the case, wouldn't the registered address...
53967
Antony Scriven
adscriven@...
Oct 3, 2004 8:24 pm
... That sounds reasonable: I already do this on windows for 'runtimepath39;. ... Would there be implications for any of the above if you were root? What if you...
53968
Dave Silvia
dsilvia@...
Oct 3, 2004 11:08 pm
With PatHilite() the highlighting stays with the text, not the line number. FYI, Dave S. *** -----Original Message----- *** From: V.Chandrasekaran...
53969
V.Chandrasekaran
chandrasekaran_v@...
Oct 4, 2004 5:12 am
Yes. I realised that. I should give that a try as well. thanks for the help. chandra. ... From: "Dave Silvia" <dsilvia@...> To: "V.Chandrasekaran"...
53970
Antoine J. Mechelynck
antoine.mechelynck@...
Oct 4, 2004 5:25 am
... The "standard behaviour" of the > key in Insert mode is not to shift the current line (which is its standard behaviour in Normal mode) but to insert a ">"...
53971
Antoine J. Mechelynck
antoine.mechelynck@...
Oct 4, 2004 6:14 am
Yakov Lerner <qlerner@...> wrote: [...] ... [...] 1) On some systems such as Windows, there is a "2nd user vimrc" location compiled-in (in this...
53972
Antoine J. Mechelynck
antoine.mechelynck@...
Oct 4, 2004 6:22 am
... You might want to use a mark then (see ":help mark-motions"). ("The implementation details are left as an exercise to the reader.") Regards, Tony....
53973
Antoine J. Mechelynck
antoine.mechelynck@...
Oct 4, 2004 6:56 am
... [...] ... It is of course not perfect. (A bug-free program is always obsolete :-) .) Someday, if I come around to it, I may revise it to obey the...
53974
mikmach@...
Oct 4, 2004 7:00 am
Important notice!...
53975
Dave Silvia
dsilvia@...
Oct 4, 2004 7:07 am
That's quite an exercise for the reader. I looked in motion.txt, windows.txt, and pattern.txt for clues as well as VimgrepHelp on 'mark', but cannot seem to...
53976
Dave Silvia
dsilvia@...
Oct 4, 2004 7:18 am
Well, barring massive response with problems, bugs, mistakes, omissions, etc. I may have uploaded the final beta for VimRegEx.vim. Mostly, I've added user...
53977
Antoine J. Mechelynck
antoine.mechelynck@...
Oct 4, 2004 7:36 am
... I was just to lazy to figure it out. Maybe it doesn't work after all. But if you say your function keeps the highlight with the text, no need trying to ...
53978
Yakov Lerner
qlerner@...
Oct 4, 2004 7:41 am
... No. The .vimrc of root user is personal .vimrc of root user and of nobody else. Do you imply that .vimrc of root user affects startup of every user's vim ?...
53979
Antony Scriven
adscriven@...
Oct 4, 2004 9:26 am
Yakov Lerner ... Okay. I asked the question out of ignorance, not because I thought there would be a problem. ... After mulling this over I've changed my mind;...
53980
Antony Scriven
adscriven@...
Oct 4, 2004 9:36 am
... Perhaps the shomarks.vim script will help here. ... I presume that if the text changes then you'll lose the highlight. Or if the line occurs elsewhere then...
53981
Dave Silvia
dsilvia@...
Oct 4, 2004 9:43 am
You presume correctly!;) thx, Dave S. *** -----Original Message----- *** From: Antony Scriven [mailto:adscriven@...] *** Sent: Monday, October 04, 2004...