vim:global


Syntax

  • :[<range>]g[lobal]/{<pattern>}/[<command>]
  • :[<range>]g[lobal]!/{<pattern>}/[<command>] (inverted)
  • :[<range>]v[global]/{<pattern>}/[<command>] (inverted)

Remarks

Vim's "global" command is used to apply an ex command to every line where a regex matches.