On Thursday, August 14, 2014 10:15:54 AM UTC+2, Ni Va wrote:
> Hi,
> 
> 
> I would like to proceed to substitute several words foos by bars List in a buffer using a Dict.
> 
> 
> Can I code the replacement in one code line ?
> 
> 
> 
> let mydict = ....
> 
> " replacement code line 
> 
> 
> Thank you
Ok then if I got a dict that seems to that :
let mydict={'"':'foo1', '&':'foo2'}
I just want to use keys of mydict to search for to be replaced by corresponding values.
-- 
-- 
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