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 posiition we say `yw' > > > > Now at a different line: > > line20 []test blackak a ikfakljlasd > > > > What do we say to replace test with pest > > I was just addressing the yank/put. I don't believe you can simply replace > with one operation--it's yank/put/delete word, dealing with space. In > the above, it'd be something like 'yw', go to the start of the word, then > do 'pwdw'.
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.. Note: "P" is nice to insert the word back in front of something because "yw" yanks a trailing space. > > -- > Dave Ihnat > [EMAIL PROTECTED] > > _______________________________________________ > Redhat-list mailing list > [EMAIL PROTECTED] > https://listman.redhat.com/mailman/listinfo/redhat-list _______________________________________________ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list