Can an OLE-enabled gvim be run without registering? (Was: Re: Search in VI (VIM) for a string, then delete to end of line.)

2014-05-07 Thread Gary Johnson
On 2014-05-07, Daniel Moore wrote: > Is it possible to tell gvim not to try to do OLE registration on > startup apart from recompiling? I am on a client laptop with a > particularly aggressive antivirus which appears to be blocking all > registry modifications so I am getting the registration dialo

Re: Search in VI (VIM) for a string, then delete to end of line.

2014-05-07 Thread Daniel Moore
Would this solve your problem? :%s/HERE.*$//gc On May 7, 2014, at 11:07 AM, Nerdio wrote: I have a requirement which I am sure I can do in vi (plenty of other solutions I am sure), and this is it. I have a file that looks like this 1234 Some Text HERE rest of line 1235 Some Other Text HERE

Re: Search in VI (VIM) for a string, then delete to end of line.

2014-05-07 Thread Daniel Moore
Is it possible to tell gvim not to try to do OLE registration on startup apart from recompiling? I am on a client laptop with a particularly aggressive antivirus which appears to be blocking all registry modifications so I am getting the registration dialogue box every time I open gvim. Besides

Re: Search in VI (VIM) for a string, then delete to end of line.

2014-05-07 Thread Tim Chase
On 2014-05-07 09:07, Nerdio wrote: > I have a requirement which I am sure I can do in vi (plenty of > other solutions I am sure), and this is it. > > I have a file that looks like this > > 1234 Some Text HERE rest of line > 1235 Some Other Text HERE rest of line > > What I want to do is delete t

Re: Search in VI (VIM) for a string, then delete to end of line.

2014-05-07 Thread Christian Brabandt
Hi Nerdio! On Mi, 07 Mai 2014, Nerdio wrote: > I have a requirement which I am sure I can do in vi (plenty of other > solutions I am sure), and this is it. > > I have a file that looks like this > > 1234 Some Text HERE rest of line > 1235 Some Other Text HERE rest of line > > What I want to d

Search in VI (VIM) for a string, then delete to end of line.

2014-05-07 Thread Nerdio
I have a requirement which I am sure I can do in vi (plenty of other solutions I am sure), and this is it. I have a file that looks like this 1234 Some Text HERE rest of line 1235 Some Other Text HERE rest of line What I want to do is delete text from, and including the word HERE to the end of