Closed davejacobs closed 12 years ago
Ok, so yanks are getting pushed onto the stack correctly, and meta-p is doing something. Maybe the p
key isn't getting remapped properly?
When you run map p
, you should see <Plug>yankstack_p
, and map P
should be <Plug>yankstack_P
. These mappings store some information that needed by yankstack before calling through to the normal paste keys. But also, you should still be able to remap p
and P
, as long as you call yankstack#setup()
first.
Maybe sometime at work I could try it on your machine. I haven't really tested yankstack with too many different setups yet. Thanks for trying it!
Per our coffee shop debugging session, removing set clipboard=unnamed
makes everything smooth as buttah. Sweet.
Adding an issue for compatibility with clipboard=unnamed
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:
Type:
First line Second line Third line
yy
:Yanks
output to make sure that all's wellp
<M-p>
On my machine, I can't get the cycling to work. (
<M-p>
looks like a no-op.)Here's some debugging output:
:Yanks
:0 Third line 1 Second line 2 First line
map <M-p>
: