Automatically add endign bracket or parenthesis in insert mode