vimgolf
vimgolf copied to clipboard
<C-C> gets counted twice when used to exit insert mode
If I enter any challenge, and perform i<C-C>ZZ the game counts it as i<C-C><C-C>ZZ
if you run vim -W log then press <C-C>:q then vim log you can see vim logs it as ^C^C:q^M and vimgolf converts ^C to <C-C> (just my two cents :D trying to understand the vimgolf code)
interesting, makes a lot of sense, thanks!
On Sat, Oct 7, 2017 at 4:03 PM, h43z [email protected] wrote:
if you run "vim -W log" then press :q then "vim log" you can see vim logs it as ^C^C:q^M and vimgolf converts ^C to (just my two cents :D trying to understand the vimgolf code)
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/igrigorik/vimgolf/issues/224#issuecomment-334962247, or mute the thread https://github.com/notifications/unsubscribe-auth/AHMgT2fK7msZASMYQWk5c36zFRAYNjRaks5sp9kVgaJpZM4Pxbni .
Paging @timvisher @urticadioica, anything to look into here, or WAI?