* Joel Hammer <[EMAIL PROTECTED]> [020307 17:20]:
> Well, I still find a single stroke command to exit the vi as a
> pager quite useful. I could have a separate .vimrc for the vi as
> pager; however, I am trying to maintain a single set of commands
> for using vi (vim). So, maybe this will suffice for a quick exit:
> map Z :w! /tmp/vi-backup
:q!

This will overwrite the backup
from previous sessions, right?
bad!

Anyway, if you are trying to
maintain an "exrc" only then
you're missing many features.

But when you have a $HOME/.vimrc
then Vim will ignore the exrc anyway.
feature.

but if you really want to live
dangerously then try this mapping:
  map i ZZ

Sven

Reply via email to