maxbrunsfeld / vim-yankstack

A lightweight implementation of emacs's kill-ring for vim

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Does not work on OSX (Alt key mappings are flaky in general)

unphased opened this issue · comments

I don't think I've been able to get any vanilla <M-x> key mappings to work in vim, I use iTerm2 on OSX (and a custom PuTTY build, see my repo, on Windows) and the workaround of map <ESC>p etc is bad because it makes the escape key laggy forever after.

And so my alt-bindings look like this:
fast alt bindings

Now I'm sure I can just go and modify the code, or perhaps do a non-recursive map that binds one of my high-numbered F-keys over to <M-p> (actually, that seems much better) but maybe you should mention this in your documentation somewhere?

There's no need to modify the code; you should just pick whatever key combinations you want and map them to <Plug>yankstack_substitute_older_paste and <Plug>yankstack_substitute_newer_paste. I just made the meta key mapping the default because I personally like it. If having that mapping is undesirable to you, you can let g:yankstack_map_keys = 0. This is all already in the docs.

Ah yes. I did find that eventually. Good deal