Minor clearning.
Refactor DD keybind functions to DRY.