Hmm. I see what you mean.
However, I wouldn't be able to bind it to <kbd>]</kbd> and make it insert `]` when there are no brackets to remove. Am I right?