> well i should go through the documentation
> you'd think and also you'd think i am taking the
> shortcut by asking you people instead of taking any
> efforts but please can anybody tell me how to copy
> paste in VI editor ( single line and also multiple
> lines )
I hope you are somwhat familar with VI, so when one says "Yank" they
mean copy, in Vi lingo.
Search for "VI Cheat Sheet" on google, you'll get a lots of hits.
Look at them, take a print out of the one that you like. keep this
printout near your computer where you use VI.
Now to answer your question :
1. Copy single line :
Have your cursor on the line you want to copy and in command mode press "yy"
This will copy the line into the buffer
2. Copy multiple lines :
Same as above except prepend the count before "yy" e.g to copy 3
lines, you'll use "3yy"
3. Paste:
Go to the line where you want it pasted, and in command mode, press "p"
This will paste it BELOW the line where you have your cursor
If you are using Vim, them you can try ":he" this will give you help.
HTH,
-DP
--
______________________________________________________________________
Pune GNU/Linux Users Group Mailing List: ([email protected])
List Information: http://plug.org.in/mailing-list/listinfo/plug-mail
Send 'help' to [EMAIL PROTECTED] for mailing instructions.