If I type “(” it completes it like this “()” so is there a way of changing it so that it completes as “( )”
As with also most anything in Sublime Text relating to customization, the answer is yes
- Go to Sublime Text ▶ Preferences ▶ Key Bindings (a two pane tab will open with the default key bindings on the left and the user key bindings on the right)
- In the left panel, search for ["("] (this is the key binding for left parenthesis and defines how the editor handles this key)
- Copy the entire entry between the outer curly braces and paste it into the right hand pane between the square brackets
- In the copy, change {“contents”: “($0)”} to {“contents”: “( $0)”} (note the added space)
This procedure assumes an up-to-date installation of Sublime Text 3. Do a search for “sublime text key bindings” for lots more info on the topic.
As with also most anything in Sublime Text relating to customization, the answer is yes
- Go to Sublime Text ▶ Preferences ▶ Key Bindings (a two pane tab will open with the default key bindings on the left and the user key bindings on the right)
- In the left panel, search for ["("] (this is the key binding for left parenthesis and defines how the editor handles this key)
- Copy the entire entry between the outer curly braces and paste it into the right hand pane between the square brackets
- In the copy, change {“contents”: “($0)”} to {“contents”: “( $0)”} (note the added space)
This procedure assumes an up-to-date installation of Sublime Text 3. Do a search for “sublime text key bindings” for lots more info on the topic.