smu johnson wrote:
> In case anyone is curious, I'm trying to simulate the regular
> searching "slash key" to be used to only search and
> highlight, but _not_ jump to the next match.
Some good ideas are here:
http://vim.wikia.com/wiki/Highlight_all_search_pattern_matches
John
--
You received t
On Mon, Apr 23, 2012 at 11:06:15AM -0700, smu johnson wrote:
> Hi,
> As the subject suggestions, I can't get the search highlight to work
> from inside a function.
right -- it won't -- take it out (see below)
> If I run it myself using the colon command and typing it in..
> then it works.
> I
Thanks for the reply.
I have good news, and bad news:
The redraw thing only works if the search query (in my example,
"Change") is on the same page. If you PigUp and PigDown away from it
before trying it out, the redraw thing doesn't take effect for the
potential highlights.
The good news is th
On Mon, 23 Apr 2012, smu johnson wrote:
As the subject suggestions, I can't get the search highlight to work
from inside a function. If I run it myself using the colon command
and typing it in.. then it works.
function ChangeSearchRegister ()
let @/ = "Change"
set hlsearch
endfunction
Ad
Hi,
As the subject suggestions, I can't get the search highlight to work
from inside a function. If I run it myself using the colon command
and typing it in.. then it works.
I managed to whittle my .vimrc file down to only the important part.
In case anyone is curious, I'm trying to simulate the