Hi, On 27 May 2009, at 13:50, John Beckett wrote: > > Nick Cripps wrote: >> What I would like is to have all matches highlighted from >> when I perform the search and stay highlighted only until I >> press any key other than n or N (ie emacs highlighting behavior). > > Frankly it's best to try things the Vim way for quite a long > while before customising it to what you are used to.
True. > > Andy gave you a short and long answer, but I prefer mapping > Space to clear search highlights and any status message as shown > in this tip: > > http://vim.wikia.com/wiki/Highlight_all_search_pattern_matches > > I like scrolling around and seeing the search highlights (which > I couldn't with your method). It's no pain to press Space (or \h > as Andy suggested) to clear highlights when finished with them. I will try this and the script Andy posted and decide what I like best once I've used them for a while. Clearing messages at the same time is a good idea. I am pretty used to moving clearing the search highlighting like it does in emacs but, when I think about it, I think you are right: being able to scroll around with the highlighting staying is nice. Thanks, Nick --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---