命令: g/pattern/d 如,删除包含字母 hell 的行 g/hell/d 删除 不 匹配指定字符的行(未验证,有需要的朋友可以试一下) v/pattern/d g!/pattern/d 相关文章: 2021-11-25 2022-12-23 2022-12-23 2022-12-23 2021-10-27 2022-12-23 2021-12-29