This happens if I confuse the shell with Vim.
alias v='vim'
alias vi='vim'
-# Exit binding like in Vim; I sometimes confuse editor and shell.
-alias :q='exit'
+# I sometimes confuse editor and shell, print a warning to prevent I exit the
+# shell.
+alias :q='echo "This is not Vim!" >&2'
# Edit the mercurial patch queue series file for the current mercurial
# repository in Vim. Also change Vim's pwd to the patches directory so other