Re: Feature request: fixing a quirk in 'hlsearch'

2011-12-14 Fir de Conversatie Peter Slížik
> No. You are confusing two (or maybe three) different things: > :set nohlsearch > :nohlsearch Well, obviously I do. Now I can see it. Years ago, as a Vim newbie, I somehow came to believe that :nohlsearch was a convenience shortcut for :set nohlsearch. Because I usually define my mappings using :

Re: Feature request: fixing a quirk in 'hlsearch'

2011-12-13 Fir de Conversatie Tony Mechelynck
On 13/12/11 12:49, Peter Slížik wrote: Hi, in it's current implementation, 'hlsearch' works as following: * calling ":set hlsearch" for the first time after Vim has been launched: just expresses user's general preference of having their searches highlighted * searching a text: all occurences

RE: Feature request: fixing a quirk in 'hlsearch'

2011-12-13 Fir de Conversatie MacDonald, Stuart
From: On Behalf Of Peter Slížik > * On some Linux distributions, Vim highligts the old search, even if > it is the first time I run it in the morning. In that case, it > highlights the last search from the previous day. Quite annoying, too. > I had never a chance to debug this, but I suspect it ha

Re: Feature request: fixing a quirk in 'hlsearch'

2011-12-13 Fir de Conversatie sc
On Tue, Dec 13, 2011 at 03:49:57AM -0800, Peter Slížik wrote: > * On some Linux distributions, Vim highligts the old search, even if > it is the first time I run it in the morning. In that case, it > highlights the last search from the previous day. Quite annoying, too. > I had never a chance to de

Re: Feature request: fixing a quirk in 'hlsearch'

2011-12-13 Fir de Conversatie Ingo Karkat
On 13-Dec-2011 12:49, Peter Slížik wrote: > [37 lines deleted] > * to introduce two new commands, e.g. ":clearhl" and ":restorehl", > which would allow the user to turn the highlitghts off. Neither intuitive nor easy to find, but :nohlsearch already exists :-) -- regards, ingo -- You received

Feature request: fixing a quirk in 'hlsearch'

2011-12-13 Fir de Conversatie Peter Slížik
Hi, in it's current implementation, 'hlsearch' works as following: * calling ":set hlsearch" for the first time after Vim has been launched: just expresses user's general preference of having their searches highlighted * searching a text: all occurences become highlighted * calling ":set nohlse