YankRing.vim : Maintains a history of previous yanks, changes and deletes
What does it do?
Inspired by the Emacs kill ring.
Allows you to retrieve previous yanks, deletes and changed text and
cycle through them choosing which item you need. It also works across
Vim instances so they all see the same history. Useful for sharing
text across instances, including when using Screen in *nix.
For a more descriptive write up, please see the web page.
Thanks for everyone's feedback so far.
If you do try the plugin and find things that bother you, please send
me an email.
What is new?
NF: Automatically turn off relativenumber for the YankRing window (Emma Tramp).
NF: The YankRing window supports 1-9 to choose to paste those items for quicker access to the top 9 items.
BF: When re-executing a macro using @<letter> and the macro used f, F, t, T, a "Press ENTER to continue" prompt was displayed (Greg Sexton).
BF: Some documentation updates and script tweaks (Dominique Pellé).
BF: The 0 register was updated during delete operations (Christian Brabandt).
BF: When running a macro (@a), pressing @ displays a YankRing prompt (YR:Enter character:) to choose which macro name to run. This prompt was displayed twice leading to a "Press ENTER or type command to continue" Vim message. This change suppresses the "Press ENTER" message (Greg Sexton).
BF: The YankRing prevented you from re-running the last macro using @@.
BF: YRToggle (to disable / enable the YankRing) did not unmap @.
BF: When prompted for a macro to run, if an invalid value was provided, Vim could report "E354: Invalid register name".
BF: When using a Vim instance with < 80 columns and using a horizontal YankRing window after opening and closing the YankRing window the Vim window did not shrink back to its original size (Eric Weir).
BF: Updated documented values of yankring_window_height and yankring_window_width (Paul).
BF: It was not possible to paste from the * register if the clipboard option contains unnamedplus before unnamed (Marcin Szamotulski).
As usual, feedback good and bad is always welcome.