enable mouse cursor pos change and change cursor shape for insert mode