vim - Why does <c-y> trigger when <c-i> is pressed when <tab> is mapped to <c-y>?
PHP中文网
PHP中文网 2017-05-16 16:34:44
0
1
681

In insert mode, the functions of <c-j> and <cr> are also the same. However, when <cr> is mapped to <Esc>, when <c-j> is pressed, the normal mode will not be entered.
I feel that the relationship between <c-i> and <tab> is similar to the former, but the performance is different. I use <tab>Map emmet's <c-y>, but <c-i> will also trigger <c-y>. The same is true even with non-recursive mapping inoremap.

PHP中文网
PHP中文网

认证0级讲师

reply all(1)
黄舟

Please learn to use :help [key position] to view their essence, for example :help i_CTRL-J is like this:

Another example :help i_CTRL_I is this:

I think the help documentation is pretty self-explanatory.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template