On 20Nov2018 01:26, Thomas Schneider <t...@fred.net> wrote:
Felix:
You could use "ZZ", only one char more and skips the mapping.

Well, I have mapped Z to insert my .sig file.

I have mutt do that for me pre-edit.

Removing that I tried
ZZ and found that it did not bring me back into vim.  Also, you have
to hold the shift key down.  ';e' is very fast and minimal!

';' has other uses - a quick escape from vim by one character.

I use "q" for that (mapped to "ZZ"). Just like mutt itself; surely anything else is disloyal?

Also I
map ',' to mean ':w^M' so I can write the file out quickly.  Usually I
have my atchange program watching the file to do whatever I want (like
run a program or typeset in LaTeX).

I used to have ^W mapped to ':w^M'. Until I started using vim's nice "window" stuff to split my terminal up when editing, all of whose actions commence with ^W.

So now I just have q mapped to ZZ (quit, saving file if modified).

Cheers,
Cameron Simpson <c...@cskk.id.au>

Reply via email to