Sunday, January 8, 2017

Putting informations in Dictionary in one kick

Hi,

I regarding this whole file, I would like to put each separated info into a Dictionary.

First key is Mnemonique, second is type, type2, adresse, comment

let mydict = {'mnemo' : {'type': "val0", 'type2' : "val1", 'adresse' : "val2", 'comment' : "val3"} }

How can I read along the file and use fastest vim function to map my dict with appropriate values in each fields defined.
Thank you

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

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment