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

54307Re: viminfo, args and --remote

Expand Messages
  • Antoine J. Mechelynck
    Oct 15, 2004
    • 0 Attachment
      Antony Scriven <adscriven@...> wrote:
      > Antoine Mechelynck wrote:
      [...]
      > > Or maybe
      > > that's what you use already?
      >
      > Not quite, I restore the bufferlist before I exit vim, not
      > including any buffers in the argument list:
      >
      > fun RestoreBufList()
      > if argc() > 0
      > rewind | argdo bwipeout
      > argdelete * | rviminfo
      > endif
      > endfun
      >
      > au VimLeavePre * call RestoreBufList()
      >
      > > IMO you should write a tip about it for Vim-online.
      >
      > Ack, more work! (But thanks for letting me know.)
      >
      > Antony

      Hm, is that really necessary? Under ":help :wviminfo" and under ":help
      viminfo-write" it is said that the write is really a merge of new info with
      old. Or maybe what you want is to _avoid_ making the buffer list longer (by
      the files in the argument list)?

      Regards,
      Tony.
    • Show all 12 messages in this topic