loading...

Vim: Delete all lines containing a pattern

fumblehool profile image Damanpreet Singh ・1 min read

Use this command to delete all lines containing pattern -

:g/pattern/d

Discussion

pic
Editor guide