1 2 3 4 5 6
typedef struct { KeySym ksym; unsigned int state; } Key; static void vi_keypress(KeySym ksym, const XKeyEvent *ev);