I have an ipv6 hosts file. No I want to add a comment symbol # to each line that having "google.com.hk".
How could I do this in vim? I thought it would be something like
or, to avoid replacing things like
Alternatively, use the
This tells VIM to search for what's in the parentheses, in this case
Alternatively, you could do: