Change auto-pairs to smartinput