google / vim-syncopate

Make it easy to share beautiful code. DISCLAIMER: This is not an official Google product.
Apache License 2.0
90 stars 16 forks source link

Support OSX #22

Open dbarnett opened 9 years ago

dbarnett commented 9 years ago

When :SyncopateExportToClipboard is used on an OSX machine, it should invoke pbcopy instead of xclip. pbcopy doesn't seem to have HTML support (manpage), so for that to work, we'd need to send it RTF or PostScript.

:SyncopateExportToBrowser should also not default to sensible-browser on OSX, but that's not a big deal anyway since people can already configure the flag to whatever they want.

dbarnett commented 9 years ago

Contributions from an OSX user would be very welcome on this one!