Adaptations to Sublime text 3. Tested on OS X and Linux.

Hi,

Thanks for your very useful plugin!
I missed its functionality on Sublime Text 3, so I ported it.

The changes are, of course, incompatible with Sublime Text 2.
As you can see, they are pretty trivial.

I would appreciate it if you can pull it into a Sublime 3 branch, so it can be installed via Package Control in ST3.

Thanks!