if you are using vim then you can make use of the middle button to paste highlighted text into vi. now if you want to do it the old-fashioned way (pure keyboard) then here are some tips... - vi makes use of buffers (specifically the unnamed-buffer) to store
deleted and copied text. think of it as the clipboard.
- to paste the contents of the unnamed-buffer, press p to paste it after the cursor (or line? i cant remember correctly as i am in windows right now) and P to paste it before. - delete/yank is more powerful when used with markers. that is another topic and i still have work to do. ;-) NOTE: it is understood that before executing
the command shortcuts that you are out of the editing-mode. press the escape
key twice to make sure. ;-)
ciao! SKLIM wrote: Hi! I need help to know the key how to copy and paste in vi command ? Can someone help me on this issue
"Programming, an artform that fights back." =============================
Tel# 638-3070 loc. 72
|
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com