Re: Can I include /range/ in substitute pattern?

2017-03-21 Thread Pablo Contreras
Lol serious??? Donkey Kong is my all time fave!! Cheers, JakyKong. On 21 Mar 2017 14:14, "jakyk...@theanythingbox.com" < jakyk...@theanythingbox.com> wrote: On Tuesday, March 21, 2017 at 5:44:56 AM UTC-7, Pablo Contreras wrote: > Hi Jakykong, > > love the name :) > &

Re: Can I include /range/ in substitute pattern?

2017-03-21 Thread Pablo Contreras
keep going \_.\{-} until you match 200 then your substitute string you just put those things back \1\2\3 then add your desired string \2 Works for me! Cheers, Pablo. On 3/21/17, jakyk...@theanythingbox.com <jakyk...@theanythingbox.com> wrote: > On Tuesday, March 14, 2017 at 10:28:23 AM UTC-7, Pa

Can I include /range/ in substitute pattern?

2017-03-14 Thread Pablo Contreras
Hi All, I'm wondering if you gentlemen will be able to help me here. Let's say I have = john[<--current-line] sells kites = if I want to add bikes to John's sales I do :/sells kites/s//\0 and bikes/ which is great because it saves me typing 'sells kites' in the pattern the

Ambiguity about what $ means?

2017-03-05 Thread Pablo Contreras
Hi, I am trying to match midway through a line and then continue to the rest of the file but it seems I am not allowed. so say I have = 1. 2. mary 3. 4. had a little lamb = I am on line 2, right at the beginning Let's say I do: s/$/XXX/ I get = 1. 2. maryXXX 3. 4. had a

Is it possible to map a key when you enter r replace character?

2013-07-26 Thread Pablo Contreras
!, imap, omap, smap, xmap, cmap, vmap, nmap, and all work very well but they do not for r or f command's argument, as it says in the manual. Help!!! All the best, Pablo Contreras. -- -- You received this message from the vim_use maillist. Do not top-post! Type your reply below the text you