Fedora 21 Terminal
First configureimap jk You can do it throughjk. I don’t know why it suddenly fails after using it. Pressjkand directly output.
imap jk is written in the configuration file and is invalid.
I just executed:imap jk in Normal mode and then entered Insert mode. However, it failed again after exiting vim and then entering again.
Very weird :(
imap refers to mapping under input mode. This is the keyboard mapping at this time, which will directly input text. You should change it to nmap, or be more violent and try map
You can execute it
:mapto see what jk is mappedThe most likely reason for this is that you try typing something with
原始的意义取消掉了,你直接按ESC.If it’s normal, you can try mapping
imap jkMaybe there won’t be any problems