Wednesday, December 23, 2009

Re: Concatenate each item of two list

On 23 déc, 15:43, Jürgen Krämer <jottka...@googlemail.com> wrote:
> Hi,
>
>
>
>
>
> epanda wrote:
>
> > On 23 d c, 15:37, J rgen Kr mer <jottka...@googlemail.com> wrote:
>
> >> Christian Brabandt wrote:
>
> >>> If you have a recent enough vim, something like this should work:
> >>> call map(list1, 'v:val.list2[v:idx]')
>
> >> it's v:key, not v:idx.
>
> >>> You need to have at least patchlevel 295 of version 7.2, otherwise this
> >>> won't work. I have only 7.2.284, so I can't test.
>
> > v:key is for Dict, I am using List now in order to use map in order to
> > accelerate process
>
> no, it's v:key. This additional use of v:key was introduced with patch
> 295. If you have a recent version you find this documented at
>
>   :help map()
>
> Regards,
> J rgen
>
> --
> Sometimes I think the surest sign that intelligent life exists elsewhere
> in the universe is that none of it has tried to contact us.     (Calvin)- Masquer le texte des messages précédents -
>
> - Afficher le texte des messages précédents -


Ok, can you send the link to download last patch. I don't see it on
official website

--
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php

No comments: