Refactor dired kbd