Dear N3wB, Being that you don't have a mouse it might be a little tough.
What I would suggest is the following: ESC :%s/wordA/wordB/g That will replace the wordA with wordB throughout the entire file. Best regards, Shirley >From: ABrady <[EMAIL PROTECTED]> >Reply-To: [EMAIL PROTECTED] >To: [EMAIL PROTECTED] >Subject: Re: Vi: Replace Word sequencei >Date: Tue, 5 Feb 2002 05:21:34 -0600 > >On Tue, 5 Feb 2002 12:18:11 -0100 (GMT+1) >john-paul delaney <[EMAIL PROTECTED]> implied: > > > Thanks... Sorry I wasn't specific. I'm using the Vi editor in a > > terminal (not GUI)... without a mouse. > > > > regards > > /j-p. > > > > > > On Tue, 5 Feb 2002, ABrady wrote: > > > > > 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 cut & paste method is highlight a word. Even if you > > > don't cut it, it's now in memory. Then place the cursor where you > > > wantit and hit both buttons (2-button mouse) or the middle button > > > (3-button mouse) and it will be pasted. > > > > > > If using KDE or something, there are other variations. So the > > > question is to broad to give a more definitive answer. > >I led you into further explanation, but I'm far from a vi/vim whiz. >Haveta leave that one to someone else. > >-- >Microsoft: The company that made email dangerous. > > > >_______________________________________________ >Redhat-list mailing list >[EMAIL PROTECTED] >https://listman.redhat.com/mailman/listinfo/redhat-list _________________________________________________________________ Chat with friends online, try MSN Messenger: http://messenger.msn.com _______________________________________________ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list