Immediately after deleting 3 lines of text in vi and moving the cursor to a different line, which single character command will insert the deleted content below the current line?
Immediately after deleting 3 lines of text in vi and moving the cursor to a different line, which single character command will insert the deleted content below the current line?
In vi, the 'p' (lowercase) command is used to put the most recently deleted or yanked text below the current line. After deleting 3 lines and moving the cursor to a different line, using 'p' will insert the deleted lines below the current cursor position.
p is below cursor , P is above cursor.
https://books.google.se/books?id=_ZF2CJ0XfGoC&lpg=PA112&ots=IDIviGWO0l&dq=P%20is%20above%20cursor&pg=PA112#v=onepage&q=P%20is%20above%20cursor&f=false
agreed!
p is below cursor and capital P is above cursor
the shorter one (p) goes below cursor, the taller one (P) above.
Answer: B