vrapper/vrapper — pull request #80 by radostyle (2012-06-20 00:03:00+00:00)
Title: Adding unnamed clipboard support

Changing SWTClipboardRegister so that it stops adding a extra newline to
the system clipboard. Before this change when using the SWTClipboardRegister
as the default register, and you yy'ed a line and pasted it to another application,
an extra newline would be added to the end. Adjusted CommandLineParser and added
a configuration listener so that setting 'set clipboard=unnamed' in the .vrapperrc
file will allow you to use the system clipboard to copy and paste to and from.

The listener implementation I used isn't the prettiest as it puts code in the DefaultEditorAdaptor instead of the CommandLineParser, but I couldn't find a cleaner way to do it that fit within the current way things were structured.