Properly handle keybindings (for I am a derp)