maxbrunsfeld/vim-yankstack — Issue #3: Registered yanks not cycling
Author: davejacobs
Created: 2012-02-12 21:10:44+00:00
State: open

I haven't been able to get yankstack to cycle through registered yanks. Looks like everything is set up properly. This is what I've been doing to test:

1. Type:

First line
Second line
Third line

2. Go to first line
3. Copy first, second and third lines with `yy`
4. Inspect `:Yanks` output to make sure that all's well
5. Paste the third line onto the fourth line using `p`
6. Attempt to cycle backwards using

I can't get anything to happen.

Here's some debugging output:

`:Yanks`:

0 Third line
1 Second line
2 First line

`map `

yankstack_substitute_older_paste

When I enter insert mode then escape and hit , I get the right message: "Last change was not a paste."

Any idea what's going on?