There are several plug-ins can accomplish this task, auto-add a closing bracket when we type:
But then the cursor will be in the middle of paired bracket, when we finish inserting, we need to ESC,
li to continue typing rest of the content.
This is quite frustrating, just autocomplete one character, we need to type 3 additional keys, is there a way to get around this? I still want to keep bracket auto-pairing though.