I always use the following commands to yank an inner word and then paste it in the line above:
yiw -> O -> Esc -> p
P by itself (without using
O to insert a line above) doesn't work, because there's no new line character, so instead that just pastes it before the cursor.
Is there an easier way to do this?