Re: ANN: YankRing 1.5
- Things have definitely gotten better! Thanks!
A couple more items that I just noticed are the use of repeat (using
'.') commands of i, I, a, or A. As common behavior is seen between all
stated commands, I will only provide a single example. Take the lines
Move to Two
Type 'a' to enter insert mode after the T. Enter the word 'FIVE'. Hit
Move to Four. Hit '.' Nothing happens.
It should insert FIVE just after the F in Four.
As noted above, similar (lack of) behavior is seen for i, I, a, and A.
One other quick thing to note is that the o and O commands don't repeat
properly. For the most part, the problem is analagous to that seen for
i, I, a, and A. The exception is when 'o' is used simply to create a
new blank line (Typing 'o' and immediately hitting escape).
Repeating this operation does open a new line, but leaves you in insert
mode. It should simply create a new blank line below your current
line and leave you in normal mode.
On Apr 1, 2005, at 6:36 AM, David Fishburn wrote:
> YankRing.vim : Maintains a history of previous yanks and deletes
> Vim already maintains a list of numbered registers containing the last
> deletes. These previous deletes can be referenced using [register]p,
> so "1p
> will paste the last delete, "2p the 2nd last delete. For more
> see |quote_number|.
> Vim does not provide any mechanism to reference previous yanked text.
> Emacs this feature is called the "kill ring".
> The yankring plugin allows the user to configure the number of yanked
> 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: The yankring now respects the cpoptions setting, if 'y' is
> included and
> you press '.', the previous yank command is executed and added to the
> yankring. You can also add this behaviour by setting this in your
> let g:yankring_dot_repeat_yank = 1
> NF: Duplicates will not be added to the yankring by default. If a
> is found, the element will be moved to the top of the yankring. This
> can be
> controlled by setting this in your |vimrc|:
> let g:yankring_ignore_duplicate = 0 (1 is default)
> BF: Regression from version 1.4, the '.' operator may incorrectly
> Thanks to Alexei Alexandrov for his suggestions and bug reports.