> how long does a variable stored in viminfo file live.
> I want a global variable g:MYVAR which is actually
> a dictionary item, converted to string and stored in
> viminfo file, i want this variable to live forever, how can
> this be done ?
I think as long as the variable exists when the viminfo file is written
and the viminfo option contains the '!' flag and your vim is newer than
7.3.X where x introduced storing dicts and lists in the viminfo file (
I don't remember the exact version, it was introduced with one of the
7.3. patches).
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
No comments:
Post a Comment