Change 'add matrix' hotkey to a double bracket [[.  Add some logic
to deal with the edge cases of doing this.