maxbrunsfeld / vim-yankstack

A lightweight implementation of emacs's kill-ring for vim
437 stars 29 forks source link

Use map-<unique> to warn users if yankstack is clobbering maps #12

Closed idbrii closed 5 years ago

idbrii commented 12 years ago

If yankstack used <unique> (see :help map-<unique>), then users would get a warning instead of their maps (like Y or #9) being clobbered.

I'm not sure if there's a way for you to tell users to call yankstack#setup() in their vimrc for more user friendliness. Maybe you could use a try?

maxbrunsfeld commented 12 years ago

Yeah, I think this is a good idea. Using <unique> sounds the easiest. Or, we could use maparg to check if any mappings have been defined, and display a more specific error message.

idbrii commented 5 years ago

I no longer use yankstack, so this issue no longer affects me. Feel free to reopen if it's a case you want to consider.