Sublime Forum

Auto-close angled brackets in Sublime Text 3

#1

How can I have ST2’s auto-closing of angled brackets in ST3? I’m looking specifically for a solution for LaTeX. I’ve tried this solution, but I can’t seem to configure it to work properly with LaTeX. I believe my problem is with the last backspace command. Can anyone help me out? =)

0 Likes

#2

Go to Preferences > Key Bindings
Paste this on the right side tabs in the square brackets :

{ "keys": ["<"],"command":"insert_snippet","args":{"contents":"<${0:$SELECTION}>"}}
0 Likes