Define keybinding actions in map

Besides being simpler, this will make it easier to have different keybindings
in different modes (such as pause)