How can I find and replace all occurrencies of a character in vim? -
i have strange character in text, how can find of occurrences , replace character?
i know if need same thing word can use *
, :%s//replacement/g
replace occurrences,
is there similar characters?
yank character register (
a
in case):"ayl
start substitute command
:%s/
use
<c-r>
a
paste register command line.finish command , execute:
:%s/<char>/<new-char>/g
Comments
Post a Comment