As seeked by /u/HighR0ller.
Press spacebar twice to add spaces. Binding to a single spacebar press is unfortunately not possible with sublime.
With |
being the cursor:
[|foo]
<space><space>
[ |foo ]
{|{ foo: bar }}
<space><space>
{ |{ foo: bar } }
(|)
<space><space>
( | )
Press backspace after a space char inside of brackets.
[ |foo ]
<backspace>
[|foo]
{ |{ foo: bar } }
<backspace>
{|{ foo: bar }}
( | )
<backspace>
(|)