auto insert pairs and enable auto-dwim.