keymap: consider modifier state when picking a mapping