Jeff Smith wrote:
> What I'd like to know is whether there's a way to
> remap :q to something harmless.

You could put something like the following in your vimrc file:
 :nmap :q :echo "Press ZQ to quit!"<CR>

Please note:

1. Particularly for a mailing list, please make sure you send plain text
only.

2. This list (vim-l) is to discuss management of the Vim Tips wiki. To
discuss Vim, you should use the vim_use mailing list. I see that this is
confusingly called "[EMAIL PROTECTED]" at:

http://www.vim.org/maillist.php

The advice it gives (mail [EMAIL PROTECTED] to subscribe) is correct.

John

_______________________________________________
Vim-l mailing list
[email protected]
http://lists.wikia.com/mailman/listinfo/vim-l

Reply via email to