Wednesday, December 23, 2009

Concatenate each items of two Lists

Hi,

I have tried to concat each items of two lists I have.

let list1 = ["one","two"]
let list2 = ["1","2"]


let globalList = map(list1, 'v:val . list2[v:count]')


but it fails, v:count seems to not be incremented

Thanks for help

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

No comments:

Post a Comment