most simple solution is to alias :q like so:
alias :q=`echo ”This is not vim”`
but as someone suggested in commandlinefu, you can use tput to put some color and fun into this.
alias :q=’tput setaf 1; echo >&2 ”this is NOT vi(m) :/”; tput sgr0’
- 2009/11/19 Multiple search in vim
- 2009/12/18 Display a block of text with delineated by a start pattern and an end pattern
- 2009/12/07 View the newest xkcd comic.
- 2009/12/05 Insert a comment on command line for reminder
- 2009/11/16 bash colors