Tuesday, June 26, 2012

What does the second example for map() mean?

There's an example in the help for map() that reads:

:let tlist = map(copy(mylist), ' & . "\t"')

What is that ampersand doing there? Is the example incomplete?
Obsolete? Should it be v:val instead?

--
Best,
Ben

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