Replace autopairs with smartinput