Odd yank behaviour

Create issue
Issue #105 new
Former user created an issue

I've found an odd bug when yanking text via a deletion (e.g. diw, 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:


as opposed to:


I use this workflow quite often when refactoring - it would be really awesome to have this fixed.


Comments (0)

  1. Log in to comment