Change disableInput behavior to allow programmatic edits but not inputs to the hidden textfield

I'm not exactly sure if I modified `readInput` correctly, but as far as I can tell it results in the desired behavior in vim mode, and doesn't seem to break anything with the default codemirror keymap.

The change is that key events are now able to trigger edits to the document, while direct character insertions are ignored.