Searching /<pattern>
in a document highlights text in some places like this:
some text ...
match1 some text ...
some text match2
...
match3 text match4
...
Is there a way to make all the matches uppercase with :%s//<something>/g
? I currenty do this kind of things by using the gn
operator, but I would like to know a better way.
:%s/match. some text/\U&/g