I don't use vim, but from the parsing example he gives in the post, I'm guessing he uses C-c:
`Mihere's some text^Cyyp$bimore ^C0~A.^C:w^M:q
[…]
> The lexer correctly determined that I started in normal mode by navigating to a specific buffer using the `M mark, then typed here's some text in insert mode, then[…]
> The lexer correctly determined that I started in normal mode by navigating to a specific buffer using the `M mark, then typed here's some text in insert mode, then[…]