在 Gvim 中搜索多个项目
Gvim 中是否有一种简单的方法可以同时在文件中搜索多个搜索项?即我希望 Gvim 突出显示给定文件中的 Word1 和 Word2 或同时突出显示给定文件中的 RegExp1 和 RegExp2。
Is there an easy way in Gvim to search for more than one search item in a file simultaneously ? i.e I want Gvim to highlight Word1 and Word2 in a given file or RegExp1 and RegExp2 in a given file at the same time.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
使用“或”正则表达式运算符:
/Word1\|Word2
Use the "or" regex operator:
/Word1\|Word2