re: If DEV were an acronym, what would it stand for? VIEW POST

TOP OF THREAD FULL DISCUSSION
re: Another pro tip! There is a shortcut for :wq — :x

Another pro tip for regex:

:%s/term/replacement/g

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.

code of conduct - report abuse