You can create a visual selection of the attribute value inside double quotes with vi"
. Then, there are several plugins that implement the *
command for visual mode (usually by overloading the *
command), i.e. they search for the next occurrence of the selected text. One such plugin is my SearchHighlighting plugin. (The plugin page has links to alternative plugins.)
Related plugins
If you want to change all attribute values (without constructing a :%s/
substitution), my ChangeGlobally plugin provides a gc{motion}
and {Visual}gc
command that does that.