preservim / vim-textobj-quote

Use ‘curly’ quote characters in Vim
Other
123 stars 6 forks source link

Use the appropriate clipboard register. #19

Closed ltratt closed 4 years ago

ltratt commented 5 years ago

Depending on what the clipboard is set to, we need to yank/paste from/to different registers. The approach herein is based on that of vim-yoink.

Addresses #15 (well, probably: easyclip has been replaced by yoink, and this PR fixes things for yoink; if anyone uses easyclip, it probably fixes that too).

alerque commented 4 years ago

I'm sorry this never got any attention when you first submitted it. I'd like to get it merged if it is still valid—and it looks like it is to me. That being said I don't use easyclip or yoink and do use some custom clipboard stuff of my own, so it's a little hard for me to test effectively. Would it be possible for you to recheck and confirm the status of this patch?

ltratt commented 4 years ago

I'm still using this patch and have had no problems at any point, so I think it's good to merge!

alerque commented 4 years ago

Awesome! I think we'll call that good. It doesn't seem to pose any problems for my config. Thanks for taking the time to contribute.

ltratt commented 4 years ago

My pleasure -- and thank you for the plugin!