got typing to work in insert mode