Support wrapping multiple selections in brackets

Closes #8