DEV Community

Discussion on: If DEV were an acronym, what would it stand for?

 
michaelgv profile image
Mike

Another pro tip for regex:

:%s/term/replacement/g
Thread Thread
 
pzelnip profile image
Adam Parkin

I'll use something similar when I rebase (to squash) a series of commits in a git repo (vim's my editor for Git). If when presented with the list of commits you do:

:2,$s/pick/s/g

You'll squash all commits into a single commit in one fell swoop.