Skip to content

Instantly share code, notes, and snippets.

@kana
Created December 4, 2012 09:58
Show Gist options
  • Star 12 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kana/4202311 to your computer and use it in GitHub Desktop.
Save kana/4202311 to your computer and use it in GitHub Desktop.
Realtime keystroke recording for Vim
--- src/main.c~ 2012-10-23 12:35:34.000000000 +0900
+++ src/main.c 2012-12-04 18:42:25.000000000 +0900
@@ -2315,6 +2315,7 @@
mch_errmsg("\"\n");
mch_exit(2);
}
+ setvbuf(scriptout, NULL, _IONBF, 0);
break;
#ifdef FEAT_GUI_W32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment