On 10/9/05, nikhil purwant <[EMAIL PROTECTED]> wrote:
> hi people
>
>          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 )

In the command mode (toggle using Escape key), use 'yy' (ignore
quotes) to yank (copy) the line.
To copy say 5 lines, '5yy' .
'p' to paste.

http://www.collaborium.org/onsite/venezuela/docs/linux/linux_guides/vi/

Salil

--
______________________________________________________________________
Pune GNU/Linux Users Group Mailing List:      (plug-mail@plug.org.in)
List Information:  http://plug.org.in/mailing-list/listinfo/plug-mail
Send 'help' to [EMAIL PROTECTED] for mailing instructions.

Reply via email to