Multiple replacement through Dict or List way

2014-08-14 Thread Ni Va
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 -- -- You received this message from the vim_use maillist. Do not top-post! Type your

Re: Multiple replacement through Dict or List way

2014-08-14 Thread Павлов Николай Александрович
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On August 14, 2014 12:15:54 PM GMT+03:00, Ni Va nivaem...@gmail.com 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 =

Re: Multiple replacement through Dict or List way

2014-08-14 Thread Ni Va
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

Re: vim-7.4.389 UI extremely sluggish with custom syntax highlighting plugins

2014-08-14 Thread Bram Moolenaar
Christian Brabandt wrote: But anyway, this raises the question again, why matchaddpos() accepts a list of positions (but only 8 items), while all other functions usually only accept 1 position. It's used for the matchparen plugin. The idea is that it's useful for other plugins as

Re: window split size of a visual selection

2014-08-14 Thread Alexandre Provencio
That's awesome, thank you Ethan! On Wed, Aug 13, 2014 at 5:29 PM, Ethan Hereth advocateddrum...@gmail.com wrote: On Wed, Aug 13, 2014 at 4:24 PM, Alexandre Provencio alexandreproven...@gmail.com wrote: Hello guys! Can vim (or a plugin) provide me a way of creating a window split with the

Re: window split size of a visual selection

2014-08-14 Thread Alexandre Provencio
Ethan, after testing this great plugin I unfortunately found out it still not exactly what I'm looking for. While NrrwRgn focuses on the selected area, what I really would need is the case when I create a viewport of a selected area but work on the *other* viewport, and it would be very helpful