refactor keybinding implementation