Re: Vi: Replace Word sequence

2002-02-05 Thread Dave Ihnat
On Tue, Feb 05, 2002 at 12:42:12PM -0500, Lynne Lawrence wrote: > yup, but you don't need the "pw" to put the word back - simply "p" > will put back whatever is in the butter, be it a word, or what.. Sigh... I knew that, I really did. The fingers need to be debounced... (O'course, the keyboard m

Re: Vi: Replace Word sequence

2002-02-05 Thread john-paul delaney
Cool... the subtle touch. Thanks Lynn. /j-p. On Tue, 5 Feb 2002, Lynne Lawrence wrote: > Note: "P" is nice to insert the word back in front of > something because "yw" yanks a trailing space. --- JUSTATEST Art Online www.justatest.com _

Re: Vi: Replace Word sequence

2002-02-05 Thread john-paul delaney
Thanks Dave... I don't want to belabour the point.. yet the named buffers allow me to delete the word I want to replace without losing the original yanked word. My problem was that the original yanked entry would be overwritten in memory by the following deletion (yw dw pw -> leaves me with th

Re: Vi: Replace Word sequence

2002-02-05 Thread Lynne Lawrence
Dave Ihnat wrote: > On Tue, Feb 05, 2002 at 08:05:15AM -0800, Harry Putnam wrote: > > Maybe I miss understood [sic] the OP but I thought he was asking to do > > something like this: > > > > On a line with cursor represented by [] > > > >line1 []pest blak bla blah > > On that line a cursor pos

Re: Vi: Replace Word sequence

2002-02-05 Thread Dave Ihnat
On Tue, Feb 05, 2002 at 08:05:15AM -0800, Harry Putnam wrote: > Maybe I miss understood [sic] the OP but I thought he was asking to do > something like this: > > On a line with cursor represented by [] > >line1 []pest blak bla blah > On that line a cursor posiition we say `yw' > > Now at a

Re: Vi: Replace Word sequence

2002-02-05 Thread Harry Putnam
Dave Ihnat <[EMAIL PROTECTED]> writes: > From: Dave Ihnat <[EMAIL PROTECTED]> > Subject: Re: Vi: Replace Word sequence > To: [EMAIL PROTECTED] > Date: Tue, 5 Feb 2002 08:17:52 -0600 > Message-ID: <[EMAIL PROTECTED]> > > On Tue, Feb 05, 2002 at 11:41:45AM -0

Re: Vi: Replace Word sequence

2002-02-05 Thread Dave Ihnat
On Tue, Feb 05, 2002 at 11:41:45AM -0100, john-paul delaney wrote: > Having previously yanked a word, I now want to replace the word at > the cursor with the one in memory. What's the best way to do this > substitution? Others have mentioned named buffers, but generally for this kind of work you

Re: Vi: Replace Word sequence

2002-02-05 Thread Duncan Hill
On Tue, 5 Feb 2002, john-paul delaney wrote: > > cw <- nuke current work (there has to be an easier way) > > dw ? Note to self - wake up before posting to lists! Yes, dw :> ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/

Re: Vi: Replace Word sequence

2002-02-05 Thread john-paul delaney
On Tue, 5 Feb 2002, Duncan Hill wrote: thanks... for the buffers tip. > cw <- nuke current work (there has to be an easier way) dw ? --- JUSTATEST Art Online www.justatest.com ___ Redhat-list mailing list [EMAIL PROTEC

Re: Vi: Replace Word sequence

2002-02-05 Thread ABrady
On Tue, 5 Feb 2002 11:41:45 -0100 (GMT+1) john-paul delaney <[EMAIL PROTECTED]> implied: > Newb question... > > Having previously yanked a word, I now want to replace the word at the > cursor with the one in memory. What's the best way to do this > substitution? Using what? The most common cu

Vi: Replace Word sequence

2002-02-05 Thread john-paul delaney
Newb question... Having previously yanked a word, I now want to replace the word at the cursor with the one in memory. What's the best way to do this substitution? thanks /j-p. --- JUSTATEST Art Online www.justatest.com _