Add auto edit strategy for curly braces. Fixes #28