On Sat, 05 Jan 2002 08:51:16 +0200 "Hylton Conacher (ZR1HPC)" <[EMAIL PROTECTED]> wrote:
> > SKLIM wrote: > > > > I need help to know the key how to copy and paste in vi command ? > > Can someone help me on this issue > I'll offer to help a bit. > > From my VI quick ref next to the desk I see that following commands are > possibly the ones you should play with: > :yy copy(:5yy would copy the next 5 lines) > :p paste > :r replace > :d$ deletes from the cursor to the end of the line > :dd delete one line at a time > :u undo > :x delete one character (:5x would delete the next 5 characters) > > Hope it helps (Hih) > just to add something usually overlooked... :D - deletes the text from the cursor until the end of the line (same effect :d$) :C - changes the text from the cursor until the end of the line (same effect as :c$) :Y - copies the current line also try replacing the dollar sign with 0 (zero) to reverse the effect into the beginning of the line. ciao! -- "Programming, an artform that fights back." ============================= Anuerin G. Diaz Design Engineer Millennium Software, Incorporated 2305 B West Tower, Philippines Stocks Exchange Center, Exchange Road, Ortigas Center, Pasig City Tel# 638-3070 loc. 72 Fax# 638-3079 =============================
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
