Saturday, May 29, 2010

Re: Where are the VIM buffers stored?

On 29 May 2010 00:16, Tim Chase <vim@tim.thechases.com> wrote:
> On 05/28/2010 04:03 PM, Dotan Cohen wrote:
>>
>> Ii have noticed that I can exit VIM then open another file and my
>> buffers are saved! Where is that info saved?
>
> I presume by "buffers" you mean what Vim calls "registers" which are
> preserved in your viminfo file.
>
>  :help viminfo
>
> The items saved are controlled by your 'viminfo' setting:
>
>  :help 'viminfo'
>
> Hope this helps,
>
> -tim
>
>
>

Yes, thanks. That is exactly what I needed.

Since which VIM version are the registers available between sessions?
It seems that I can now yank from one file, shut down the machine,
then paste into another file. Was this always the case?


--
Dotan Cohen

http://gibberish.co.il
http://what-is-what.com

--
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