hello Hari

On Tue, Nov 10, 2009 at 10:11:46PM -0800, Hari Krishna Dara wrote:
> Since you seem to want a one liner, here is one:
> 
> let t=eval('{'.join(map(split(system("echo foo; echo bar"), "\n" ),
> '"''".v:val."'': 1"'), ',').'}')

I want my code to be readable then short. it seems that viml isn't the
good langage for it. I stick on the for-loop :)

regards, 
marc

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

Reply via email to