@snoe I'm going to rework how the plugin works a bit. I'm going to add a test harness (looks like bensu/doo), and make the text change event handling a different code path from the buffer enter.
I'll skip the cursorDx stuff, but add it back later. Looks like it might be wrong for insert mode, too.