vim does not find and replace simple phrase that is clearly present

后端 未结 2 1158
一整个雨季
一整个雨季 2021-01-31 13:34

I have a simple vim problem that Google hasn\'t managed to help me with. Any thoughts are appreciated.

I do the following search and replace:

:s/numnode         


        
相关标签:
2条回答
  • 2021-01-31 13:49

    Try :%s/searchphrase/replacephase/g

    Without the % symbol Vim only matches and replaces on the current line.

    0 讨论(0)
  • 2021-01-31 14:08

    try using this:

    :%s/numnodes/numnodes1/g
    
    0 讨论(0)
提交回复
热议问题