How do I replace or find non-printable characters in vim regex?

前端 未结 6 1781
青春惊慌失措
青春惊慌失措 2021-01-30 07:09

I have a file with some non-printable characters that come up as ^C or ^B, I want to find and replace those characters, how do I go about doing that?

6条回答
  •  渐次进展
    2021-01-30 07:31

    You can use the CTRL-V prefix to enter them, or if they're not easily typeable, yank and insert them using CTRL-R ".

提交回复
热议问题