Keybinding optimization