25

Power of g | Vim Tips Wiki | FANDOM powered by Wikia

 4 years ago
source link: https://vim.fandom.com/wiki/Power_of_g
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
The global command:g is very useful. Here are some examples showing the power 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 with a colon such as:d for delete...

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK