I've found an odd bug when yanking text via a deletion (e.g.
viwd, etc.), when pasting in between parens. If I immediately put the text (
p), the correct text is entered. If, however, I press
o in normal mode to enter a new line,
<ESC> and then
p, I see that the second to last yanked text is entered instead of the text just yanked.
Here's a detailed example (assuming the buffer is currently in normal mode):
That key sequence will result in the following buffer:
(foobar r )
as opposed to:
(foobar foobar )
I use this workflow quite often when refactoring - it would be really awesome to have this fixed.