A streaming parser / lexer for vim keystrokes