title: What is the difference between :g and :%s commands in vim
body: <p>today I started to use vim. I get confused at <code>:g</code> and <code>:%s</code> commands. So, what is the difference between <code>:g</code> or <code>:%s</code> commands?</p>