vim: add special case for 'yy' on last line of buffer

We need to handle this specially because GtkTextBuffer/GtkTextView does
not give us a \n at the end.