Hi, epanda wrote: > > On 23 déc, 15:37, Jürgen Krämer <[email protected]> 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) -- You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php
