If I have a pair of quotes on a line by themselves:
...and a short paragraph of text, say three lines of text:
some text that I'd like to move
Now if I want to move the text into the quotes, I can place the caret at the line above the first line of text and press 3, dd to select and delete them - but how can I paste them in between the quotes in the easiest way possible? The problem is that pasting them will add them on the line below the quotes, producing this result:
'' some text that I'd like to move
Until now I've typically done something like entering a newline between the quotes, then pasting the text between them, resulting in something like this...
' some text that I'd like to move '
...after which I'd remove the newlines at the top and bottom using shift+j. This works, but it feels clumsy.
Is there a better way?
Just to be clear, this is the result I'm trying to achieve:
'some text that I'd like to move'