Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set default yank register to "+ or "* if &clipboard has unnamedplus or unnamed #1

Merged
merged 1 commit into from May 3, 2011

Conversation

@guns
Copy link
Contributor

@guns guns commented May 1, 2011

Hello,

I have just discovered your excellent plugin, and I am very pleased!
Your implementation is actually better than anything I imagined from
a :registers plugin; it is terrific work.

This patch covers an edge case where the user has added unnamed or
unnamedplus do their clipboard setting. In this case, the default
register for pasting is "* or "+ respectively, and not "". I
thought it would be appropriate in this case to yank to the STAR or PLUS
register since the user has explicitly indicated this preference.

Cheers,
guns

@tyru tyru merged commit 5806cc9 into tyru:master May 3, 2011
@tyru
Copy link
Owner

@tyru tyru commented May 3, 2011

Great. I've just merged your commit. thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants