Is there a table for all key views on a vim map?

Today I am trying to make nnoremap in vim.

Some keys have special meanings on this map, such as C for Control

I read these official two documents and did not find a presentation map. http://vim.wikia.com/wiki/Mapping_keys_in_Vim_-Tutorial (Part_1) http://vimdoc.sourceforge.net/htmldoc/map.html#map-which-keys

I tried to find all these ideas, but I can’t, maybe this is something like common sense?

But this is always hidden common sense, which interfered with many beginners.

So far, I find that only some of the special keys can be initial.

For example: I can do <CJ> , but not <SPACE-J> like {lhs}.

And it seems that only special keys can be used in sequences greater than 2.

How can I do <CAJ> but not <CKJ>

What are all representations of these special keys and what hidden rules are unknown to me in order to use sequences greater than 2? Can he use special key + 2 normal key?

ps: So far, I only know:

 `C` for `Control` `A` for `Alt` `S` for `Shift` 

But there seems to be B , M , D , etc. What it is?

+1
source share
1 answer

Yes, of course, there is such a resource, see :help key-notation .

Vim has slightly different capabilities in this regard depending on the platform and environment, as well as the well-known archaic key processing mechanism, so you are relatively limited.

For portability purposes, it is recommended that you stick to universally used mappings as much as possible. Mappings to avoid (from the top of the head):

  • everything related to the Alt key
  • everything related to the Cmd key (works only in the implementation of the MacVim GUI)
  • everything that includes the modifier and uppercase character
+4
source

All Articles