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

Document and warn better for missing xclip #21

Closed dbarnett closed 9 years ago

dbarnett commented 9 years ago

There's no documentation about needing to have xclip installed for :SyncopateExportToClipboard to work, and if you try it without xclip installed, it just silently fails to modify the clipboard without showing any error from vim (since it's run with :silent %!xclip). In fact, it falsely reports "Syncopate exported blah blah".

We should document the xclip requirement in the help and also give a reasonable error message if it's missing or fails.