DEV Community

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

Collapse
 
avalander profile image
Avalander • Edited

Do Everything Vetter

Don't Exit Vim

Collapse
 
gergelypolonkai profile image
Gergely Polonkai

You can’t exit ViM, why ask not to do it?

Collapse
 
avalander profile image
Avalander

Well, if the acronym would have been CEV, I could have said Can't Exit Vim; and Don't (know how to) Exit Vim seemed too far fetched, so Don't Exit Vim is the closest to what I wanted to say I could think of.

Collapse
 
eljayadobe profile image
Eljay-Adobe

Vim is the Hotel California of editors.

Collapse
 
miria profile image
kobayashi

That's so good, sir :D.

Collapse
 
vishal_24_anand profile image
vishal

I would say Do Explore Vim! I love Vim :)

Collapse
 
pandademic profile image
Pandademic

GO VIM!!

Collapse
 
michaelgv profile image
Mike • Edited

Don't Exit Vim has got to be my favourite so far.


Pro tip: ESC + :wq = exit vim

:w = Write
:q = Quit
:wq = Write buffer and quit
Collapse
 
atomicwrites profile image
David Castro

Another other pro tip, that's bound to just ZZ, withough a colon.

Collapse
 
kossnocorp profile image
Sasha Koss

Another pro tip! There is a shortcut for :wq:x

Thread Thread
 
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.

Collapse
 
avalander profile image
Avalander

To be fair, any reference to Vim being hard to quit is always a cheap win.

Thread Thread
 
michaelgv profile image
Mike

As a regular vim user, the cheapest win for me is emacs.

Thread Thread
 
moopet profile image
Ben Sinclair

Robert Burns

Thread Thread
 
pandademic profile image
Pandademic

agreed

Collapse
 
rbo13 profile image
Richard Burk

Don't Exit Vim

I'll buy that! 😂