fixed keybindings

changed for mac and added for other platforms