vim.keyHistory also holds new commands
Extra curChar assignment. Probably can be moved to the end of vim.exec eventually.
Tests for refs #50