How to search and replace an unprintable character

后端 未结 3 1313
遥遥无期
遥遥无期 2020-12-16 10:57

I\'ve a file that was exported from Word and it replaced all quotes with strange unicode characters which aren\'t correctly displayed in vim. So now I want those characters

3条回答
  •  渐次进展
    2020-12-16 11:34

    I usually:

    1. delete the character with: x
    2. undo my change with: u
    3. do the substitute thanks to c_CTRL-R: :%s/^R"/'/g

提交回复
热议问题