ANN: YankRing 1.6
- YankRing.vim : Maintains a history of previous yanks and deletes
Vim already maintains a list of numbered registers containing the last 9
deletes. These previous deletes can be referenced using [register]p, so "1p
will paste the last delete, "2p the 2nd last delete. For more information
Vim does not provide any mechanism to reference previous yanked text. In
Emacs this feature is called the "kill ring".
The yankring plugin allows the user to configure the number of yanked and
deleted text. After text has been pasted, it can be replaced with a
previous value from the yankring.
New features and bug fixes for this version:
NF: YRSearch is similar to YRGetElem. Given a regular expression
it will interactively display all the elements in the yankring
that match the regular expression. You can enter the number
of the element to paste it. If you have many elements within
the yankring, this can help you identify them more easily.
NF: Updated the default history size from 30 to 100, which is
partially the reason for the YRSearch command.
NF: By default it supports "gp" and "gP", in addition to "p" and "P".
NF: Added support for the expression register (:h quote=). Here
is an example of how it is used: