After opening NERDTree, how do you enter vim with the default cursor in the document editing area on the right?

  question, vim

After the NERDTree configured in. vimrc is automatically turned on by default, every time you enter vim, the cursor is in the NERDTree on the left, and you manually press ctrl+w+w to the editing area on the right, which is very troublesome.
I have searched the Internet for a long time and haven’t found the corresponding configuration. I don’t know how the great gods are configured. Looking for advice XD

Can be set as follows:

autocmd VimEnter * NERDTree
 wincmd w
 autocmd VimEnter * wincmd w