I’m tinkering with building a paredit-like extension for Nova. I think the correct way to approach it is to build a Commands extension with some “text” commands such that I can override the behavior of (, [, and {, for example.
But paredit also overrides deletion operations like DEL or BACKSPACE or even ⌘X so that, if it would delete a paren, it does nothing instead.
The trick, of course, is that if the thing to be deleted does not contain a paren, it should behave as per usual. I don’t want to reimplement all these deletion operations if possible. Is there a way to bail on a command such that it will call the default behavior of its shortcut?