vim :global

Help us to keep this website almost Ad Free! It takes only 10 seconds of your time:
> Step 1: Go view our video on YouTube: EF Core Bulk Insert
> Step 2: And Like the video. BONUS: You can also share it!

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.



Got any vim Question?