vim find and replace
发布日期:2021-09-20 08:07:27 浏览次数:71 分类:技术文章

本文共 325 字,大约阅读时间需要 1 分钟。

1.

Save typing by using \zs and \ze to set the start and end of a pattern. For example, instead of:

:s/Copyright 2007 All Rights Reserved/Copyright 2008 All Rights Reserved/
2.

You can use other delimiters with substitute:

:s#http://www.example.com/index.html#http://example.com/#
http://vim.wikia.com/wiki/Search_and_replace

转载地址:https://blog.csdn.net/caiyiii/article/details/11021915 如侵犯您的版权,请留言回复原文章的地址,我们会给您删除此文章,给您带来不便请您谅解!

上一篇:mysql 跨表更新数据的几种操作
下一篇:linux查看指定端口的连接情况

发表评论

最新留言

不错!
[***.144.177.141]2024年04月10日 11时56分29秒