Vim keycodes

You can find keycodes using this command in Neovim: :help keycodes

Here are some examples:

  • <CR>, <Enter>, <Return>: The enter key (CR stands for carriage return)
  • <S-...>: The shift key
  • <C-...>: The control key
  • <M-...>, <A-...>: The meta or alt key. On Windows, this is alt and on macOS this is option.
  • <D-...>: The command key (macOS only)