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?

  1. yank character register (a in case): "ayl

  2. start substitute command :%s/

  3. use <c-r> a paste register command line.

  4. finish command , execute: :%s/<char>/<new-char>/g


Comments

Popular posts from this blog

php - Invalid Cofiguration - yii\base\InvalidConfigException - Yii2 -

How to show in django cms breadcrumbs full path? -

ruby on rails - npm error: tunneling socket could not be established, cause=connect ETIMEDOUT -