adding mouse support back in from a couple of years ago... sigh
fixing up vim