best practice for backward-delete-char in key binding