Loading ...
Sorry, an error occurred while loading the content.

Re: write to viminfo on suspend

Expand Messages
  • Christian Brabandt
    Hi howard! ... 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,
    Message 1 of 2 , Mar 5, 2012
    • 0 Attachment
      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
    Your message has been successfully submitted and would be delivered to recipients shortly.