Today I learned about the global command in (n)vim, which allows you to run a command on multiple lines matching a pattern. Let's say I want to remove all lines in a file matching pattern1.
Today I learned about the global command in (n)vim, which allows you to run a command on multiple lines matching a pattern. Let's say I want to remove all lines in a file matching pattern1.