Remove duplication in keystroke capture functions
Remove duplication in keystroke capture functions

igrigorik/vimgolf,igrigorik/vimgolf,urticadioica/vimgolf,urticadioica/vimgolf,igrigorik/vimgolf,urticadioica/vimgolf,igrigorik/vimgolf