2015-11-24 8:23 GMT+03:00 Tony Mechelynck :
> On Mon, Nov 23, 2015 at 1:12 PM, Nikolay Pavlov wrote:
> > Consider the following script:
> >
> > vim -u NONE -i /tmp/foo.viminfo -c 'help :command' -c 'setlocal
> > buflisted' -c 'set viminfo='\''0,%' -c 'qa'
> >
> > This will result in the follo
On Mon, Nov 23, 2015 at 1:12 PM, Nikolay Pavlov wrote:
> Consider the following script:
>
> vim -u NONE -i /tmp/foo.viminfo -c 'help :command' -c 'setlocal
> buflisted' -c 'set viminfo='\''0,%' -c 'qa'
>
> This will result in the following contents in foo.viminfo:
>
> # This viminfo file w
Nikolay Pavlov wrote:
> Consider the following script:
>
> vim -u NONE -i /tmp/foo.viminfo -c 'help :command' -c 'setlocal
> buflisted' -c 'set viminfo='\''0,%' -c 'qa'
>
> This will result in the following contents in foo.viminfo:
>
> # This viminfo file was generated by Vim 7.4.
>
Consider the following script:
vim -u NONE -i /tmp/foo.viminfo -c 'help :command' -c 'setlocal
buflisted' -c 'set viminfo='\''0,%' -c 'qa'
This will result in the following contents in foo.viminfo:
# This viminfo file was generated by Vim 7.4.
# You may edit it if you're careful!