Neurohazard
暮雲煙月,皓首窮經;森羅萬象,如是我聞。

VIM 小技巧记录

wpadmin~August 9, 2018 /System Management

VIM 小技巧记录

正文

Delete all lines containing a pattern
批量删除含有某个关键词的行

http://vim.wikia.com/wiki/Delete_all_lines_containing_a_pattern

:g/pattern/d

Leave a Reply

Your email address will not be published. Required fields are marked *