vi


Commands

DescCommand
Copy Text Y (for 1 line)
2Y (for 2 lines)
{n}Y (for 'n' lines)

P (to paste below cursor)
p (to paste above cursor)
Replace on the current line :s/oldtext/newtext/
:s (repeat last replace)
Search Backwards ?<string>