Why can’t you map shortcut keys in vim

  question, vim

I’ve been messing around lately.vimThis artifact, but encountered a problem:

I want to use the shortcut key to switch labelsmapGet up, so I’m in my~/.vimrcThis sentence was added to the document:

map <F5> :tabnext<CR>

At that time, there was no response after preservation ~ why? Ask!

  1. Esc is required if in insert state.
  2. Have you opened many tabs?
  3. Vim prefers buffer.
  4. Ctrlp is a good plug-in
  5. NERDTree is also a good plug-in. . . .