[OT] Somehow "reversed" question

2015-05-24 Thread Meino . Cramer
Hi, this is a question, which is somehow the other wat around: When replacing character/words in a text with vim, I can limit the search'n'replace-areaa with a visual selection and giving a \%V in the search pattern. I need to build a shell script, which does exactliy this: Replaceing character

Re: [OT] Somehow "reversed" question

2015-05-24 Thread Tim Chase
On 2015-05-24 16:21, meino.cra...@gmx.de wrote: > When replacing character/words in a text with vim, I can > limit the search'n'replace-areaa with a visual selection > and giving a \%V in the search pattern. > > I need to build a shell script, which does exactliy > this: Replaceing character in a

Re: [OT] Somehow "reversed" question

2015-05-24 Thread Meino . Cramer
Tim Chase [15-05-24 20:12]: > On 2015-05-24 16:21, meino.cra...@gmx.de wrote: > > When replacing character/words in a text with vim, I can > > limit the search'n'replace-areaa with a visual selection > > and giving a \%V in the search pattern. > > > > I need to build a shell script, which does ex

Re: [OT] Somehow "reversed" question

2015-05-24 Thread Tim Chase
On 2015-05-24 20:26, meino.cra...@gmx.de wrote: > ...WHOW! (an then there was silence);) > > I am completly baffled...that such a simple task in vim "explodes" > when one wants to do such a thing with sed. Which is a good > argument for vim, indeed! It's mostly a strong argument for a po

Re: [OT] Somehow "reversed" question

2015-05-24 Thread LCD 47
On 24 May 2015, Tim Chase wrote: > On 2015-05-24 20:26, meino.cra...@gmx.de wrote: > > ...WHOW! (an then there was silence);) > > > > I am completly baffled...that such a simple task in vim "explodes" > > when one wants to do such a thing with sed. Which is a good > > argument for vim, i