Re: hls Colour

2010-04-14 Thread Paul
On Wed, Apr 14, 2010 at 01:09:46PM +0200, Tony Mechelynck wrote: The reason is in your (Paul's) next post in this thread (where you snipped away the function below): you are using vim in console, but this SearchCurrent highlight, as defined below, only sets guifg= guibg= colours. IOW, it will onl

Re: hls Colour

2010-04-14 Thread Tony Mechelynck
On 05/03/10 04:12, John Beckett wrote: Paul wrote: I'm not sure what this is supposed to look like. I put it in my .vimrc (after unwrapping the line) and opened another file, set hls and did a search. All search results looked exactly as they do normally, even after specifically :so'ing my .vimr

Re: hls Colour

2010-03-06 Thread Paul
On Fri, Mar 05, 2010 at 02:12:46PM +1100, John Beckett wrote: After searching, pressing Space will clear all search highlights. Press Shift-Space to enable the DarkOrange highlighting of the current hit. I tried the new script. I made it the only thing in .vimrc, and I moved my .vim directory

RE: hls Colour

2010-03-04 Thread John Beckett
Paul wrote: > I'm not sure what this is supposed to look like. I put it in > my .vimrc (after unwrapping the line) and opened another > file, set hls and did a search. All search results looked > exactly as they do normally, even after specifically :so'ing > my .vimrc again... After moving the cur

Re: hls Colour

2010-03-04 Thread Paul
On Wed, Feb 24, 2010 at 03:35:44PM +1100, John Beckett wrote: ---start--- " Highlight current search hit so can easily see it if many hits. highlight SearchCurrent guifg=black guibg=DarkOrange augroup highlight_current autocmd! autocmd CursorMoved * silent call HighlightCurrent() augroup END f

RE: hls Colour

2010-02-23 Thread John Beckett
Matt Wozniski wrote: > Or... If you wanted to be particularly industrious, you could > probably put together a vimscript that highlights the current > match differently. Something like a CursorMoved autocmd that > does (completely untested) > ... Totally bizarre, but it's looking sensational so f

Re: hls Colour

2010-02-23 Thread Matt Wozniski
On Tue, Feb 23, 2010 at 2:30 AM, Ben Schmidt wrote: > On 22/02/10 3:25 AM, Spencer Collyer wrote: >> >> On Fri, 19 Feb 2010 11:54:43 +, Paul wrote: >>> >>> When I have hls on, the searched words are highlighted. When I press >>> n or # to jump through them, the page might scroll up or down and

Re: hls Colour

2010-02-22 Thread Ben Schmidt
On 22/02/10 3:25 AM, Spencer Collyer wrote: On Fri, 19 Feb 2010 11:54:43 +, Paul wrote: When I have hls on, the searched words are highlighted. When I press n or # to jump through them, the page might scroll up or down and there could be a number of hit results shown. I sometimes have to wig

Re: hls Colour

2010-02-21 Thread John Little
On Feb 20, 12:54 am, Paul wrote: > ... I sometimes have to wiggle the cursor left and right so I can see which > one is current... Sounds like you have an insufficiently conspicuous cursor. See :help guicursor if you're using gvim; I have mine set to a 200 ms blink. For vim in a terminal, you'r

Re: hls Colour

2010-02-21 Thread Spencer Collyer
On Fri, 19 Feb 2010 11:54:43 +, Paul wrote: > When I have hls on, the searched words are highlighted. When I press > n or # to jump through them, the page might scroll up or down and > there could be a number of hit results shown. I sometimes have to > wiggle the cursor left and right so I can

hls Colour

2010-02-19 Thread Paul
When I have hls on, the searched words are highlighted. When I press n or # to jump through them, the page might scroll up or down and there could be a number of hit results shown. I sometimes have to wiggle the cursor left and right so I can see which one is currently being hovered over. Is th