cmd
description
yy
copy line to buffer
p
copy line from buffer
dd
delete current line
0 (zero)
move to beginning of line
$
move to end of line