Can vim(or by some plugin) highlight current matching words when I input replace command? For example, given following document:
attribute_list = [ ("attribute_1", int), ("attribute_2", float), ("attribute_3", int), ]
I want to replace all
bool with vim command
:%s/int/bool/g. When I input
:%s/in can vim highlight all the
in in the document? I need this feature because I want to check my search pattern is correct when I replace some text by regexp.
The vim plugin EasyMotion have a similar feature. It can highlight all the current matching words when you search.