Results 1 to 3 of 3

Thread: VI Questions

  1. #1
    Join Date
    Apr 2004
    Location
    Cumming, GA
    Posts
    2

    Post Unanswered: VI Questions

    I have a question regarding VI (Virtual Editor) on Unix. I know there is a way to do it, but what is the command for cutting a line out in VI? I know we use 'yy' for yanking a copy of the line, but I need to know how to actually cut a line and place it in another location. Thanks in advance for your help.

  2. #2
    Join Date
    Jan 2004
    Location
    Bordeaux, France
    Posts
    320
    dd Delete line
    P Insert line before cusor
    p Insert line after cusor
    Jean-Pierre.

  3. #3
    Join Date
    Apr 2004
    Location
    Cumming, GA
    Posts
    2
    Originally posted by aigles
    dd Delete line
    P Insert line before cusor
    p Insert line after cusor
    thanks alot!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •