vim how to search for URL

后端 未结 5 864
借酒劲吻你
借酒劲吻你 2021-01-12 15:12

How would you search for the following string in vim?

http://my.url.com/a/b/c

I\'ve tried (a la Very No Magic)

:/\\Vhttp://         


        
5条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2021-01-12 15:44

    Searching in vim is just /, not :/. You can search for that string escaping only the slashes: /http:\/\/my.url.com\/a\/b\/c

提交回复
热议问题