Tip 227 Printable Monobook Previous Next created 2002 · complexity intermediate · author Arun Easi · version 6.0 The global command :g is very useful. Here are some examples showing the power of :g. Brief explanation of :g[] :[range]g/pattern/cmd This acts on the specified [range] (default whole file), by executing the Ex command cmd for each line matching pattern (an Ex command is one starting wi