Hi howard!

On So, 04 Mär 2012, howard Schwartz wrote:

> Another strange request: I want vim to write registers and so on to
> viminfo when it is suspended with ctrl-Z. I can not use the
> autocommand shellcmdpost because, vim gets stopped - so it cannot
> itself do a :wv command.
> 
> A certain map almost works:
> 
> map <C-Z> :wv ^M \| :suspend! ^M

Works for me.

Try to find a reproducible example to make it suspend twice, start with 
vim -u NONE -U NONE -N 

(see also FAQ: 36.12)

regards,
Christian

-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Reply via email to