gjpdzg
Last Updated: February 25, 2016
·
416
· krisleech

Remind yourself to slow down when `:qa`ing out of lots of vim sessions

If you find yourself typing :qa in your shell by mistake try this fun alias:

alias :qa="echo 'Slow down, your in the shell'"

Works in zsh, bash and fish.

Or you could go for the more practical:

alias :qa="exit"
alias :q="exit"