Closed mMontu closed 12 years ago
@mMontu, this has bitten me a couple of times too. It's not immediately obvious to me how to fix this, but I have a couple of ideas. I'm going to spend some time on it soon, after I set up a unit-testing scheme for yankstack.
ok, please let me know if I can help or perform any additional test.
Hey @mMontu, just wanted to say this is still going to get fixed. It annoyed me again today at work.
Thanks for the update! (I'm happy that today it is holiday here!) :)
This bug is fixed as of the latest master. Let me know how it works for you. Thanks!
I've tested and everything seems to works fine! :D
Hi @maxbrunsfeld!
It seems that in some cases the snipMate still corrupts the Yanks list. Following the reproduction steps above, typing <alt-p>
after 'inc' didn't bring "line 3", but instead makes it disappear from the Yanks list. It seems to replace it with the selected text.
It seems that
snipMate
(http://www.vim.org/scripts/script.php?script_id=2540) is somehow corrupting yankstack registers.To reproduce the problem:
1-)
:e temp.c
2-) type: line1 line2 line3 3-) copy each line with yy 4-):Yanks
displays:5-) expand some snipppet that contains an identifier to replace, such as 'inc' and type anything to replace the text that appears selected
include
6-)
:Yanks
displays: