I use ST2/3 as my primary LaTeX editor and push all my git commits onto GitHub. For several reasons, I need to use hard line breaks—“word wrap” doesn’t do the trick. I have installed the WrapPlus package via Package Control, and while very helpful, and so far reliable, it needs to be triggered manually using a shortcut.
Is there a way to have this done automatically, e.g. by triggering the WrapPlus command every time I type a whitespace? It seems that sublime_plugin.EventListener does not provide a method for tracking the last character entered into the buffer, so some major (and possible inefficient) intervention might be needed to obtain that information.
(Incidentally, it would be nice to have a “meta-package” of sorts that would parametrically run any command whenever a given event is triggered. Any volunteers? )