Simplify basic keybind code