add autocmd to restore cursor of the last change.